fine: include header & prelude with %hoot

This commit is contained in:
fang 2022-01-24 21:01:46 +01:00
parent b606dea970
commit 2279764eff
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -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))]