Skip to content

HpackField

HpackField = object

Defined in: packages/format-http/src/hpack/hpack-field.ts:5

One field as HPACK carries it: a lowercase name and a value, both octets read as Latin-1, and whether it must never enter a compression table.

readonly name: string

Defined in: packages/format-http/src/hpack/hpack-field.ts:6


readonly sensitive: boolean

Defined in: packages/format-http/src/hpack/hpack-field.ts:14

Sent as “never indexed” (RFC 7541 §6.2.3): no table on the path, ours or an intermediary’s, may store it. Set for credentials, so they cannot be guessed through compression side channels.


readonly value: string

Defined in: packages/format-http/src/hpack/hpack-field.ts:7