libhttp2.huffman

Huffman

Members

Aliases

DecodeTable
alias DecodeTable = Decode[16]
Undocumented in source.

Classes

HDEntry
class HDEntry
Undocumented in source.
HDTable
class HDTable
Undocumented in source.

Enums

DecodeFlag
enum DecodeFlag
Undocumented in source.
HDFlags
enum HDFlags
Undocumented in source.
InflateFlag
enum InflateFlag

The flags for header inflation.

InflateState
enum InflateState
Undocumented in source.
OpCode
enum OpCode
Undocumented in source.

Functions

decodeLength
int decodeLength(uint res, size_t shift_ptr, bool is_final, uint n, size_t shift, ubyte* input, ubyte* last, size_t prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
entryRoom
size_t entryRoom(size_t namelen, size_t valuelen)
Undocumented in source. Be warned that the author may not have intended to support it.
hash
uint hash(string str)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

decode_table
DecodeTable[256] decode_table;
Undocumented in source.
static_table
StaticEntry[] static_table;

Sorted by hash(name) and its table index

static_table_index
size_t[61] static_table_index;
Undocumented in source.
symbol_table
Symbol[258] symbol_table;
Undocumented in source.

Structs

Decode
struct Decode
Undocumented in source.
Decoder
struct Decoder
Undocumented in source.
StaticEntry
struct StaticEntry
Undocumented in source.
Symbol
struct Symbol
Undocumented in source.

Variables

DEFAULT_MAX_DEFLATE_BUFFER_SIZE
auto DEFAULT_MAX_DEFLATE_BUFFER_SIZE;

Default size of maximum table buffer size for encoder. Even if remote decoder notifies larger buffer size for its decoding, encoder only uses the memory up to this value.

ENTRY_OVERHEAD
auto ENTRY_OVERHEAD;
Undocumented in source.
HD_DEFAULT_MAX_BUFFER_SIZE
auto HD_DEFAULT_MAX_BUFFER_SIZE;
Undocumented in source.
MAX_HF_LEN
auto MAX_HF_LEN;

The maximum length of one header field. This is the sum of the length of name and value. This is not specified by the spec. We just chose the arbitrary size */

Meta

License

Distributed under the terms of the MIT license with an additional section 1.2 of the curl/libcurl project. Consult the provided LICENSE.md file for details