Crate trillium_compression
source ·Expand description
Body compression for trillium.rs
Currently, this crate only supports compressing outbound bodies with the zstd, brotli, and gzip algorithms (in order of preference), although more algorithms may be added in the future. The correct algorithm will be selected based on the Accept-Encoding header sent by the client, if one exists.
Structs§
- Trillium handler for compression
Enums§
- Algorithms supported by this crate
Functions§
- Alias for
Compression::new