Module HPack
- Description
Implementation of the HPACK (RFC 7541) header packing standard.
This is the header packing system that is used in HTTP/2 (RFC 7540).
- Constant
DEFAULT_HEADER_TABLE_SIZE
constantintHPack.DEFAULT_HEADER_TABLE_SIZE- Description
This is the default static maximum size of the dynamic header table.
This constant is taken from RFC 7540 section 6.5.2.
- Constant
static_header_tab
constantHPack.static_header_tab- Description
Table of static headers. RFC 7541 appendix A, Table 1.
Array array(string(8bit))0..60Array string(8bit)0Header name.
string(8bit)1Default value.
- Note
Note that this table is indexed starting on
0(zero), while the corresponding table in RFC 7541 starts on1(one).
- Variable
static_header_index
protectedmapping(string(8bit):int|mapping(string(8bit):int)) HPack.static_header_index- Description
Index for static_header_tab.
- Note
Note that the indices are offset by
1(one).- Note
This variable should be regarded as a constant.
This variable is used to initialize the header index in the Context.
- See also