Trait actix_web::dev::BodyEncoding[][src]

pub trait BodyEncoding {
    fn get_encoding(&self) -> Option<ContentEncoding>;
fn encoding(&mut self, encoding: ContentEncoding) -> &mut Self; }

Helper trait that allows to set specific encoding for response.

Required methods

fn get_encoding(&self) -> Option<ContentEncoding>[src]

Get content encoding

fn encoding(&mut self, encoding: ContentEncoding) -> &mut Self[src]

Set content encoding

Loading content...

Implementors

Loading content...