[−][src]Trait actix_web::dev::BodyEncoding
Helper trait that allows to set specific encoding for response.
Required methods
pub fn get_encoding(&self) -> Option<ContentEncoding>
[src]
Get content encoding
pub fn encoding(&mut self, encoding: ContentEncoding) -> &mut Self
[src]
Set content encoding