Skip to content

HpackDecoderOptions

HpackDecoderOptions = object

Defined in: packages/format-http/src/hpack/hpack-decoder.ts:16

Options for HpackDecoder.

readonly maxHeaderListSize: number

Defined in: packages/format-http/src/hpack/hpack-decoder.ts:28

Largest header list accepted, as RFC 9113 §6.5.2 counts it: each field’s name and value plus 32 octets. Bounds the decoded output; the encoded block is bounded by whoever buffers it.


readonly maxTableSize: number

Defined in: packages/format-http/src/hpack/hpack-decoder.ts:21

The dynamic table size this side advertised (HTTP/2’s SETTINGS_HEADER_TABLE_SIZE); a size update above it is an error.