Method | Description | |
---|---|---|
Decode ( |
Decode the header block into header fields.
|
|
Decoder ( int maxHeaderSize, int maxHeaderTableSize ) : System |
Initializes a new instance of the hpack.Decoder class.
|
|
EndHeaderBlock ( ) : bool |
End the current header block. Returns if the header field has been truncated. This must be called after the header block has been completely decoded.
|
|
GetMaxHeaderTableSize ( ) : int |
Return the maximum table size. This is the maximum size allowed by both the encoder and the decoder.
|
|
SetMaxHeaderTableSize ( int maxHeaderTableSize ) : void |
Set the maximum table size. If this is below the maximum size of the dynamic table used by the encoder, the beginning of the next header block MUST signal this change.
|
Method | Description | |
---|---|---|
AddHeader ( IHeaderListener headerListener, byte name, byte value, bool sensitive ) : void | ||
DecodeULE128 ( |
||
ExceedsMaxHeaderSize ( long size ) : bool | ||
GetHeaderField ( int index ) : HeaderField |
Return the header field at the given index. Exposed for testing.
|
|
IndexHeader ( int index, IHeaderListener headerListener ) : void | ||
InsertHeader ( IHeaderListener headerListener, byte name, byte value, |
||
Length ( ) : int |
Return the number of header fields in the dynamic table. Exposed for testing.
|
|
ReadName ( int index ) : void | ||
ReadStringLiteral ( |
||
Reset ( ) : void | ||
SetDynamicTableSize ( int dynamicTableSize ) : void | ||
Size ( ) : int |
Return the size of the dynamic table. Exposed for testing.
|
public Decode ( |
||
input | Input. | |
headerListener | IHeaderListener | Header listener. |
return | void |
public Decoder ( int maxHeaderSize, int maxHeaderTableSize ) : System | ||
maxHeaderSize | int | Max header size. |
maxHeaderTableSize | int | Max header table size. |
return | System |
public SetMaxHeaderTableSize ( int maxHeaderTableSize ) : void | ||
maxHeaderTableSize | int | Max header table size. |
return | void |