Handbook
Glossary
encode-field ( encode-context header -- updated-context block )
Vocabulary
http2
.
hpack
.
private
Inputs
encode-context
an
object
header
an
object
Outputs
updated-context
an
object
block
an
object
Definition
USING:
kernel
sequences
;
IN:
http2.hpack.private
::
encode-field
( encode-context header -- updated-context block )
header encode-context
search-table
[
128
swap
7
encode-integer
encode-context
swap
nipd
]
[
[
64
swap
6
encode-integer
]
[
64 0 6
encode-integer
header
first
encode-string-huffman
append
]
if*
header
second
encode-string-huffman
append
encode-context header
add-header-to-table
swap
]
if*
;