Skip to main content

Module compression

Module compression 

Source
Available on crate feature web-socket only.
Expand description

Structs§

DeflateConfig
Configurations for the permessage-deflate extension from the IETF RFC 7692
Flate2flate2
Initial Flate2 compression
NegotiatedFlate2flate2
Negotiated Flate2 compression

Enums§

CompressionLevel
A scale from 0 to 9 where 0 means “no compression” and 9 means “take as long as you’d like”.
WindowBits
LZ77 sliding window size for the permessage-deflate extension from the IETF RFC 7692.

Traits§

Compression
Initial compression parameters defined before a handshake.
NegotiatedCompression
Final compression parameters defined after a handshake.