Method HPack.Context()->encode_header()
- Method
encode_header
void
encode_header(Stdio.Buffer
buf
,string(8bit)
header
,string(8bit)
value
,HPackFlags
|void
flags
)- Description
Encode a single HPack header.
- Parameter
buf
Output buffer.
- Parameter
header
Name of header. This should under normal circumstances be a lower-case string, but this is currently not checked.
- Parameter
value
Header value.
- Parameter
flags
Optional encoding flags.
- See also