PHP Class Aerys\HPack

Show file Open project: amphp/aerys Class Usage Examples

Public Methods

Method Description
decode ( $input )
encode ( $headers )
huffman_decode ( $input )
huffman_encode ( $input )
init ( )
table_resize ( $maxSize = null ) removal of old entries as per 4.4

Private Methods

Method Description
decode_dynamic_integer ( &$input, &$off )
encode_dynamic_integer ( $int )
huffman_codes_init ( )
huffman_lens_init ( )
huffman_lookup_init ( ) (micro-)optimized decode

Method Details

decode() public method

public decode ( $input )

encode() public static method

public static encode ( $headers )

huffman_decode() public static method

public static huffman_decode ( $input )

huffman_encode() public static method

public static huffman_encode ( $input )

init() public static method

public static init ( )

table_resize() public method

removal of old entries as per 4.4
public table_resize ( $maxSize = null )