Skip to main content

Module compression

Module compression 

Source
Expand description

Response compression.

The codec is written here — DEFLATE (RFC 1951), and the gzip (RFC 1952) and zlib (RFC 1950) framings around it — rather than borrowed, like every other protocol in this framework. The middleware that applies it to responses lives in this file.

Modules§

checksum
The two checksums the compressed formats carry.
deflate
DEFLATE (RFC 1951): a compressor and a complete inflater.
gzip
The two framings around a DEFLATE stream: gzip (RFC 1952) and zlib (RFC 1950).

Structs§

Compress
Compress responses for clients that ask.