[−][src]Trait httpcodec::BodyEncode
BodyEncode
is used for representing HTTP body encoders.
Provided methods
fn update_header(&self, header: &mut HeaderMut) -> Result<()>
This method is called before starting to encode a HTTP body.
It is used for adjusting HTTP header by using the encoder specific information.
The default implementation does nothing.