| author | Jose Quintana <joseluisquintana20@gmail.com> | 2023-10-06 20:36:28.0 +00:00:00 |
|---|---|---|
| committer | Jose Quintana <joseluisquintana20@gmail.com> | 2023-10-06 20:36:52.0 +00:00:00 |
| commit | e3cd81094f400320198634cfa4bb1c189d6e873f [patch] |
|
| tree | 8874257c999beeb850aaa9177950e5ffcaab6415 |
|
| parent | ddbf8811d2cebac6786290d4ec833333606a057a |
|
| download | e3cd81094f400320198634cfa4bb1c189d6e873f.tar.gz |
|
fix: crate docs links in compression module
Diff
src/compression.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/compression.rs b/src/compression.rs index df44dfc..8d31455 100644 "application/wasm", ]; /// Create a wrapping handler that compresses the Body of a [`Response`](hyper::Response) /// Create a wrapping handler that compresses the Body of a [`hyper::Response`] /// using `gzip`, `deflate`, `brotli` or `zstd` if is specified in the `Accept-Encoding` header, adding /// `content-encoding: <coding>` to the Response's [`HeaderMap`](hyper::HeaderMap) /// `content-encoding: <coding>` to the Response's [`HeaderMap`]. /// It also provides the ability to apply compression for text-based MIME types only. method: &Method, Ok } /// Create a wrapping handler that compresses the Body of a [`Response`](hyper::Response) /// using gzip, adding `content-encoding: gzip` to the Response's [`HeaderMap`](hyper::HeaderMap) /// Create a wrapping handler that compresses the Body of a [`Response`]. /// using gzip, adding `content-encoding: gzip` to the Response's [`HeaderMap`]. from_parts } /// Create a wrapping handler that compresses the Body of a [`Response`](hyper::Response) /// using deflate, adding `content-encoding: deflate` to the Response's [`HeaderMap`](hyper::HeaderMap) /// Create a wrapping handler that compresses the Body of a [`Response`]. /// using deflate, adding `content-encoding: deflate` to the Response's [`HeaderMap`]. from_parts } /// Create a wrapping handler that compresses the Body of a [`Response`](hyper::Response) /// using brotli, adding `content-encoding: br` to the Response's [`HeaderMap`](hyper::HeaderMap) /// Create a wrapping handler that compresses the Body of a [`Response`]. /// using brotli, adding `content-encoding: br` to the Response's [`HeaderMap`]. from_parts } /// Create a wrapping handler that compresses the Body of a [`Response`](hyper::Response) /// using zstd, adding `content-encoding: zstd` to the Response's [`HeaderMap`](hyper::HeaderMap) /// Create a wrapping handler that compresses the Body of a [`Response`]. /// using zstd, adding `content-encoding: zstd` to the Response's [`HeaderMap`].