Skip to main content

Module hpack

Module hpack 

Source
Expand description

RFC 7541 HPACK wire primitives. HPACK wire primitives.

Structs§

HpackBlockDecoder
A bounded decoder for one complete HPACK block borrowing connection-owned table state.
HpackBlockEncoder
An encoder for one HPACK block borrowing connection-owned dynamic-table state.
HpackDecodedField
A decoded byte-oriented header field backed entirely by the caller output buffer.
HpackDecoderContext
Connection-owned HPACK decoder state for one HTTP/2 direction.
HpackDynamicTable
Caller-owned, allocation-free RFC 7541 dynamic-table storage.
HpackDynamicTableEntry
A caller-owned slot for an HPACK dynamic table entry.
HpackDynamicTableSizeUpdate
An exact borrowed RFC 7541 section 6.3 dynamic table size update.
HpackDynamicTableSizeUpdateBuilder
Builds an RFC 7541 section 6.3 dynamic table size update in caller-owned storage.
HpackEncoderContext
Connection-owned HPACK encoder state for one HTTP/2 direction.
HpackHeaderFieldRef
A borrowed HPACK header field with byte-oriented name and value.
HpackHuffmanDecoder
Decodes an RFC 7541 Appendix B Huffman byte sequence into caller-owned storage.
HpackHuffmanEncoder
Encodes RFC 7541 Appendix B Huffman data into caller-owned storage.
HpackIndexedField
An exact borrowed RFC 7541 section 6.1 indexed header field.
HpackIndexedFieldBuilder
Builds an RFC 7541 section 6.1 indexed header field in caller-owned storage.
HpackInteger
A validated, exact borrowed HPACK integer representation.
HpackIntegerBuilder
Builds a canonical RFC 7541 section 5.1 integer in caller-owned storage.
HpackLiteralField
An exact borrowed RFC 7541 literal header field.
HpackLiteralFieldBuilder
Builds RFC 7541 section 6.2 literal header fields in caller-owned storage.
HpackLiteralHuffman
Explicit Huffman choices for one HPACK literal field.
HpackLiteralValue
Opaque already encoded bytes for a literal header-field value.
HpackStaticTable
RFC 7541 Appendix A’s immutable, one-based static header table.
HpackStringLiteral
A validated, exact borrowed HPACK string literal representation.
HpackStringLiteralBuilder
Builds a canonical HPACK string literal around already encoded payload bytes.

Enums§

HpackDecodeError
Failure to construct or advance an HPACK block decoder.
HpackDecodeStep
One explicit result of advancing an HPACK header-block decoder.
HpackDecodedFieldMode
The indexing semantics of a decoded HPACK header field.
HpackDynamicTableError
An HPACK dynamic-table configuration or entry-size failure.
HpackDynamicTableInsertResult
The result of inserting a header field into an HPACK dynamic table.
HpackEncodeError
Failure to construct or advance an HPACK block encoder.
HpackEncodeLiteralName
A decoded literal-field name for HpackBlockEncoder::encode_literal.
HpackHuffmanDecodeError
Failure to decode an RFC 7541 Appendix B Huffman byte sequence.
HpackHuffmanEncodeError
Failure to encode RFC 7541 Appendix B Huffman data.
HpackIntegerBuildError
Failure to build an HPACK integer.
HpackIntegerParseError
Failure to parse an HPACK integer.
HpackLiteralMode
The indexing behavior requested by an HPACK literal header field.
HpackLiteralName
A literal header-field name, either a table index or opaque already encoded bytes.
HpackRepresentation
One exact borrowed RFC 7541 section 6 header-field representation.
HpackRepresentationBuildError
Failure to build an HPACK header-field representation.
HpackRepresentationParseError
Failure to parse an HPACK header-field representation.
HpackStringLiteralBuildError
Failure to build an HPACK string literal.
HpackStringLiteralParseError
Failure to parse an HPACK string literal.

Constants§

HPACK_STATIC_TABLE_LEN
Number of entries in the RFC 7541 Appendix A static table.