C# Class hpack.StaticTable

Afficher le fichier Open project: ringostarr80/hpack

Méthodes publiques

Méthode Description
GetEntry ( int index ) : HeaderField

Return the header field at the given index value.

GetIndex ( byte name ) : int

Returns the lowest index value for the given header field name in the static table. Returns -1 if the header field name is not in the static table.

GetIndex ( byte name, byte value ) : int

Returns the index value for the given header field in the static table. Returns -1 if the header field is not in the static table.

Private Methods

Méthode Description
CreateMap ( ) : int>.Dictionary

create a map of header name to index value to allow quick lookup

Method Details

GetEntry() public static méthode

Return the header field at the given index value.
public static GetEntry ( int index ) : HeaderField
index int Index.
Résultat HeaderField

GetIndex() public static méthode

Returns the lowest index value for the given header field name in the static table. Returns -1 if the header field name is not in the static table.
public static GetIndex ( byte name ) : int
name byte Name.
Résultat int

GetIndex() public static méthode

Returns the index value for the given header field in the static table. Returns -1 if the header field is not in the static table.
public static GetIndex ( byte name, byte value ) : int
name byte Name.
value byte Value.
Résultat int