Struct hpack_codec::HeaderBlockDecoder
[−]
[src]
pub struct HeaderBlockDecoder<'a, 'b> { /* fields omitted */ }
Header Block Decoder.
Methods
impl<'a, 'b: 'a> HeaderBlockDecoder<'a, 'b>
[src]
fn decode_field<'c>(&'c mut self) -> Result<Option<HeaderField<'c>>>
[src]
Decodes a header field.
If it reached the end of this block, Ok(None)
will be returned.
fn decode_raw_field(&mut self) -> Result<Option<RawHeaderField<'b>>>
[src]
Decodes a header field and returns the raw representation of it.
This method may be useful for intermediaries (see: 6.2.3. Literal Header Field Never Indexed).
fn table(&self) -> &Table
[src]
Returns the indexing table of this decoder.