mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
fine: include header & prelude with %hoot
This commit is contained in:
parent
b606dea970
commit
2279764eff
@ -100,9 +100,10 @@
|
||||
::
|
||||
++ encode-request
|
||||
|= [=path num=@ud]
|
||||
^- hoot
|
||||
^- hoot ^- @
|
||||
=+ bod=(request-body path num)
|
||||
(can 3 64^(sign:keys d.bod) bod ~)
|
||||
=+ con=(can 3 64^(sign:keys dat.bod) bod ~)
|
||||
(encode-packet [our ~zod] (mod life:keys 16) 0b0 ~ con)
|
||||
::
|
||||
++ encode-response
|
||||
|= [=path data=(unit (cask))]
|
||||
|
Loading…
Reference in New Issue
Block a user