Internal representation for header keys.
Constructors
TokentokenIx :: IntIndex for value table
shouldBeIndexed :: Boolshould be indexed in HPACK
isPseudo :: Boolis this a pseudo header key?
tokenKey :: HeaderNameCase insensitive header key
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulehttp2-5.3.10Haskell2010
Internal representation for header keys.
TokentokenIx :: IntIndex for value table
shouldBeIndexed :: Boolshould be indexed in HPACK
isPseudo :: Boolis this a pseudo header key?
tokenKey :: HeaderNameCase insensitive header key
Token index for tokenCookie.
Is this token ix for Cookie?
Is this token ix to be held in the place holder?
Is this token for a header not defined in the static table?
Is this token ix for a header not defined in the static table?
Maximun token index defined in the static table.
Maximum token index.
Minimum token index.
Making a token from a header key.
toToken ":authority" == tokenAuthorityTruetoToken "foo"Token {tokenIx = 73, shouldBeIndexed = True, isPseudo = False, tokenKey = "foo"}toToken ":bar"Token {tokenIx = 73, shouldBeIndexed = True, isPseudo = True, tokenKey = ":bar"}
For QPACK
Extracting a case insensitive header key from a token.
A place holder to hold header keys not defined in the static table. | For Warp
Extracting a folded header key from a token.