Skip to main content

Module qpack

Module qpack 

Source
Expand description

Standalone QPACK prefixed integers, Huffman payloads, and string-literal views. RFC 9204 QPACK primitives.

Structs§

QpackBlockedStream
A caller-owned record of one stream with unresolved QPACK field sections.
QpackBlockedStreams
Caller-owned accounting for streams with unresolved QPACK field sections.
QpackDecodedFieldEntry
Metadata for one packed decoded field in QpackFieldSectionOutput.
QpackDecodedFieldIter
An iterator over decoded QPACK fields in wire order.
QpackDecodedFieldRef
One decoded QPACK field borrowed from committed output storage.
QpackDecodedFieldSection
A committed decoded QPACK field section borrowed from caller-owned output.
QpackDecoderInstructionIter
A fallible fused iterator over QPACK decoder-stream instructions.
QpackDecoderInstructions
A validated complete, unframed QPACK decoder-stream instruction sequence.
QpackDecoderInstructionsParseError
Failure to validate a complete QPACK decoder-stream instruction sequence.
QpackDecoderState
Caller-owned QPACK decoder feedback accounting.
QpackDuplicate
A Duplicate instruction view.
QpackDuplicateBuilder
Builds a canonical Duplicate instruction in caller-owned storage.
QpackDynamicTable
Caller-owned, allocation-free RFC 9204 dynamic-table storage.
QpackDynamicTableEntry
A caller-owned slot for a QPACK dynamic table entry.
QpackEncodedFieldSection
The exact encoded field-section bytes and resolved context.
QpackEncoderInstructionApplier
Applies one parsed QPACK encoder-stream instruction to a dynamic table.
QpackEncoderInstructionIter
A fallible fused iterator over QPACK encoder-stream instructions.
QpackEncoderInstructions
A validated complete, unframed QPACK encoder-stream instruction sequence.
QpackEncoderInstructionsParseError
Failure to validate a complete QPACK encoder-stream instruction sequence.
QpackEncoderOutstandingSection
Metadata for one outstanding field section that contains dynamic references.
QpackEncoderState
Caller-owned encoder accounting for outstanding field sections with dynamic references.
QpackFieldLineIter
An iterator over encoded QPACK field lines.
QpackFieldLines
A validated sequence of QPACK field lines backed by its encoded bytes.
QpackFieldLinesParseError
An error encountered while validating a QPACK field-line sequence.
QpackFieldSectionBlocked
A field section whose Required Insert Count has not yet been received.
QpackFieldSectionContext
A resolved QPACK field-section Required Insert Count and Base.
QpackFieldSectionDecoder
A QPACK field-section decoder configured with the locally advertised maximum table capacity.
QpackFieldSectionEncodeBuffers
Caller-owned workspace used by one field-section encoding operation.
QpackFieldSectionEncoder
An allocation-free QPACK field-section encoder configuration.
QpackFieldSectionOutput
Caller-owned storage for decoded QPACK field-section bytes and metadata.
QpackFieldSectionPlanSlot
Opaque caller-owned storage for one retained field-line wire plan.
QpackFieldSectionPrefix
A validated, exact borrowed QPACK encoded field-section prefix.
QpackFieldSectionPrefixBuilder
Builds a canonical QPACK encoded field-section prefix in caller-owned storage.
QpackHeaderFieldRef
A borrowed QPACK header field with byte-oriented name and value.
QpackHuffmanDecoder
Decodes QPACK Huffman payload bytes into caller-owned storage.
QpackHuffmanEncoder
Encodes QPACK Huffman payload bytes into caller-owned storage.
QpackIndexedFieldLine
An indexed QPACK field line.
QpackIndexedFieldLineBuilder
Builds an Indexed Field Line in caller-owned storage.
QpackIndexedPostBaseFieldLine
An indexed post-base QPACK field line.
QpackIndexedPostBaseFieldLineBuilder
Builds an Indexed Field Line With Post-Base Index in caller-owned storage.
QpackInsertCountIncrement
An Insert Count Increment instruction view.
QpackInsertCountIncrementBuilder
Builds a canonical Insert Count Increment instruction in caller-owned storage.
QpackInsertWithLiteralName
An Insert With Literal Name instruction view.
QpackInsertWithLiteralNameBuilder
Builds a canonical Insert With Literal Name instruction in caller-owned storage.
QpackInsertWithNameReference
An Insert With Name Reference instruction view.
QpackInsertWithNameReferenceBuilder
Builds a canonical Insert With Name Reference instruction in caller-owned storage.
QpackInteger
A validated, exact borrowed QPACK prefixed integer representation.
QpackIntegerBuilder
Builds a canonical RFC 9204 section 4.1.1 integer in caller-owned storage.
QpackLiteralNameFieldLine
A literal QPACK field line containing a literal name.
QpackLiteralNameFieldLineBuilder
Builds a Literal Field Line With Literal Name in caller-owned storage.
QpackLiteralNameReferenceFieldLine
A literal QPACK field line with a referenced name.
QpackLiteralNameReferenceFieldLineBuilder
Builds a Literal Field Line With Name Reference in caller-owned storage.
QpackLiteralPostBaseNameReferenceFieldLine
A literal QPACK field line with a post-base referenced name.
QpackLiteralPostBaseNameReferenceFieldLineBuilder
Builds a Literal Field Line With Post-Base Name Reference in caller-owned storage.
QpackReadyBlockedStreamIter
An iterator over blocked streams whose Required Insert Count has been reached.
QpackSectionAcknowledgment
A Section Acknowledgment instruction view.
QpackSectionAcknowledgmentBuilder
Builds a canonical Section Acknowledgment instruction in caller-owned storage.
QpackSetDynamicTableCapacity
A Set Dynamic Table Capacity instruction view.
QpackSetDynamicTableCapacityBuilder
Builds a canonical Set Dynamic Table Capacity instruction in caller-owned storage.
QpackStaticTable
RFC 9204 Appendix A’s immutable, zero-based static header table.
QpackStreamCancellation
A Stream Cancellation instruction view.
QpackStreamCancellationBuilder
Builds a canonical Stream Cancellation instruction in caller-owned storage.
QpackStringLiteral
A validated borrowed QPACK string literal whose payload remains opaque.
QpackStringLiteralBuilder
Builds a canonical QPACK N-bit-prefixed string literal in caller-owned storage.

Enums§

QpackBlockedStreamsError
A QPACK blocked-stream accounting failure.
QpackDecoderFeedbackError
Failure while emitting caller-owned QPACK decoder feedback.
QpackDecoderInstruction
A validated, exact borrowed QPACK decoder-stream instruction.
QpackDecoderInstructionApplyError
A failure while applying a QPACK decoder-stream instruction to encoder accounting.
QpackDecoderInstructionBuildError
Failure to build a QPACK decoder-stream instruction.
QpackDecoderInstructionParseError
Failure to parse one QPACK decoder-stream instruction.
QpackDecoderInstructionsApplyError
Failure to validate or apply a QPACK decoder-stream instruction sequence.
QpackDynamicTableError
A QPACK dynamic-table capacity, insertion, eviction, or index-resolution failure.
QpackEncoderInstruction
A validated, exact borrowed QPACK encoder-stream instruction.
QpackEncoderInstructionApplyError
Failure to apply one QPACK encoder-stream instruction.
QpackEncoderInstructionApplyOutcome
The successful result of applying one encoder-stream instruction.
QpackEncoderInstructionBuildError
Failure to build a QPACK encoder-stream instruction.
QpackEncoderInstructionParseError
Failure to parse one QPACK encoder-stream instruction.
QpackEncoderInstructionsApplyError
Failure to validate or apply a QPACK encoder-stream instruction sequence.
QpackEncoderStateError
A failure while accounting for an encoder field section’s dynamic references.
QpackFieldLine
A parsed QPACK field line.
QpackFieldLineBuildError
Failure to build a QPACK field line.
QpackFieldLineParseError
An error returned while parsing a QPACK field line.
QpackFieldPlan
One semantic field representation supplied to QpackFieldSectionEncoder.
QpackFieldSectionBase
Selects the field section Base used to translate dynamic absolute indexes.
QpackFieldSectionContextError
A failure while resolving QPACK field-section prefix semantics.
QpackFieldSectionDecodeError
A failure to semantically decode one QPACK field section.
QpackFieldSectionDecodeOutcome
The outcome of decoding one complete QPACK field section.
QpackFieldSectionEncodeError
Failure to encode one QPACK field section.
QpackFieldSectionPlanError
A field-specific planning failure.
QpackFieldSectionPrefixBuildError
Failure to build a QPACK encoded field-section prefix.
QpackFieldSectionPrefixParseError
Failure to parse a QPACK encoded field-section prefix.
QpackHuffmanDecodeError
Failure to decode QPACK Huffman payload bytes.
QpackHuffmanEncodeError
Failure to encode QPACK Huffman payload bytes.
QpackIntegerBuildError
Failure to build a QPACK prefixed integer.
QpackIntegerParseError
Failure to parse a QPACK prefixed integer.
QpackStringLiteralBuildError
Failure to build a QPACK N-bit-prefixed string literal.
QpackStringLiteralParseError
Failure to parse a QPACK N-bit-prefixed string literal.

Constants§

QPACK_INTEGER_MAX
Greatest RFC 9204 prefixed integer this implementation accepts: the 62-bit ceiling.
QPACK_STATIC_TABLE_LEN
Number of entries in the RFC 9204 Appendix A static table.