Expand description
Module for handling HTTP response body encoding.
This module provides functionality for encoding HTTP response bodies using different compression algorithms like gzip, deflate, zstd, and brotli. It works in conjunction with the encoder module to provide a complete encoding solution.
The main components are:
Writer
: An internal buffer implementation for collecting encoded dataencoder
: A sub-module containing the encoding logic and request handler wrapper
The implementation is inspired by the actix-http crate’s encoding functionality.