Expand description

Compression Filters

Filters that compress the body of a response.

Structs

Compression

Functions

Create a wrapping filter that compresses the Body of a Response using brotli, adding content-encoding: br to the Response’s HeaderMap

Create a wrapping filter that compresses the Body of a Response using deflate, adding content-encoding: deflate to the Response’s HeaderMap

Create a wrapping filter that compresses the Body of a Response using gzip, adding content-encoding: gzip to the Response’s HeaderMap