HpackEncoderOptions
HpackEncoderOptions =
object
Defined in: packages/format-http/src/hpack/hpack-encoder.ts:11
Options for HpackEncoder.
Properties
Section titled “Properties”huffman?
Section titled “huffman?”
readonlyoptionalhuffman?:boolean
Defined in: packages/format-http/src/hpack/hpack-encoder.ts:23
Huffman-code a string unless that makes it longer. Defaults to true;
false trades a few octets for less work per field.
maxTableSize
Section titled “maxTableSize”
readonlymaxTableSize:number
Defined in: packages/format-http/src/hpack/hpack-encoder.ts:17
The dynamic table size to use, at most what the peer allows (HTTP/2’s
SETTINGS_HEADER_TABLE_SIZE, 4096 until it says otherwise). 0 turns
indexing off.