Method HPack.Context()->get_indexed_header()
- Method get_indexed_header
array
(string(8bit)
) get_indexed_header(int(1..)
index
)- Description
Lookup a known header.
- Parameter
index
Encoding key for the header to retrieve.
- Returns
Returns UNDEFINED on unknown header. Returns an array with a header and value otherwise:
Array string(8bit)
0
Name of the header. Under normal circumstances this is always lower-case, but no check is currently performed.
string(8bit)
1
Value of the header.
- See also