Method HPack.Context()->put_string()
- Method
put_string
protectedvoidput_string(Stdio.Bufferbuf,string(8bit)str)- Description
Encode a string with the HPack string encoding.
- Parameter
buf Output buffer.
- Parameter
str String to output.
The encoder will huffman_encode() the string if that renders a shorter encoding than the verbatim string.