HpackContext

HPACK - Header Compression for HTTP/2 <p> This class maintains the compression context for a single HTTP/2 connection. Specifically it holds the static and dynamic Header Field Tables and the associated sizes and limits. </p> <p> It is compliant with draft 11 of the specification </p>

Constructors

this
this(int maxDynamicTableSize)
Undocumented in source.

Members

Classes

Entry
class Entry
Undocumented in source.
StaticEntry
class StaticEntry
Undocumented in source.

Functions

add
Entry add(HttpField field)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Entry get(HttpField field)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Entry get(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Entry get(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Entry get(HttpHeader header)
Undocumented in source. Be warned that the author may not have intended to support it.
getDynamicTableSize
int getDynamicTableSize()

@return Current Dynamic table size in Octets

getMaxDynamicTableSize
int getMaxDynamicTableSize()

@return Max Dynamic table size in Octets

index
int index(Entry entry)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int newMaxDynamicTableSize)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()

@return Current dynamic table size in entries

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getStatic
Entry getStatic(HttpHeader header)
Undocumented in source. Be warned that the author may not have intended to support it.
staticIndex
int staticIndex(HttpHeader header)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

STATIC_SIZE
enum int STATIC_SIZE;
Undocumented in source.
STATIC_TABLE
enum string[][] STATIC_TABLE;
Undocumented in source.

Meta