Skip to main content

Module static_table

Module static_table 

Available on crate features http and std only.
Expand description

The QPACK static table (RFC 9204 Appendix A, Table 4): 99 entries, indexed 0..=98.

Values are copied verbatim from the RFC as published — including the uppercase access-control-allow-credentials values FALSE/TRUE (indices 73/74), which erratum 7277 is Held for Document Update and every interoperable implementation keeps, because the static table is a fixed wire contract.

Constants§

STATIC_TABLE_SIZE
The number of entries in the QPACK static table.

Statics§

STATIC_TABLE
The QPACK static table as (name, value) byte pairs, indexed by absolute static index.

Functions§

find
Find the index of a static entry whose name and value both match exactly, if any.
find_name
Find the lowest index of a static entry whose name matches, if any (name-only match).
get
Look up a static-table entry by index (RFC 9204 §3.1).