[][src]Trait actix_web::middleware::encoding::BodyEncoding

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

Helper trait that allows to set specific encoding for response.

Required methods

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

Loading content...

Implementors

impl BodyEncoding for ResponseBuilder[src]

impl<B> BodyEncoding for Response<B>[src]

Loading content...