HDTable

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

add
HDEntry add(HeaderField hf, uint name_hash, uint value_hash, HDFlags entry_flags)
Undocumented in source. Be warned that the author may not have intended to support it.
get
HDEntry get(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
search
int search(HeaderField hf, uint name_hash, uint value_hash, bool found)
Undocumented in source. Be warned that the author may not have intended to support it.
shrink
void shrink(size_t room)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bad
bool bad;

If inflate/deflate error occurred, this value is set to 1 and further invocation of inflate/deflate will fail with ErrorCode.HEADER_COMP.

hd_table
CircularBuffer!HDEntry hd_table;

dynamic header table

hd_table_bufsize
size_t hd_table_bufsize;

Abstract buffer size of hd_table as described in the spec. This is the sum of length of name/value in hd_table + ENTRY_OVERHEAD bytes overhead per each entry.

hd_table_bufsize_max
size_t hd_table_bufsize_max;

The effective header table size.

Meta