Handbook
Glossary
hpack-encode ( encode-context headers -- updated-context block )
Vocabulary
http2
.
hpack
Inputs
encode-context
a
hpack-context
headers
a
sequence
Outputs
updated-context
a
hpack-context
block
a
byte-array
Word description
Encodes the sequence of headers using the given context. Outputs the updated context and the encoded header block, as a byte array.
See also
hpack-decode
Definition
USING:
http2.hpack.private
sequences
;
IN:
http2.hpack
:
hpack-encode
( encode-context headers -- updated-context block )
[
encode-field
]
map
concat
;