Trait httpcodec::BodyDecode [] [src]

pub trait BodyDecode: Decode {
    fn initialize(&mut self, header: &Header) -> Result<()> { ... }
}

BodyDecode is used for representing HTTP body decoders.

Provided Methods

This method is called before starting to decode a HTTP body.

The default implementation does nothing.

Implementors