http-compress
A lightweight library for decompressing HTTP responses supporting Brotli, Deflate, and Gzip.
Features
Installation
To use this crate, you can run cmd:
cargo add http-compress
Use
Compress
use *;
use BuildHasherDefault;
use ;
let headers: = with_hasher;
let data: = vec!;
let body: = from.decode;
assert_eq!;
Encode
use *;
let _ = Gzip.encode;
let _ = Deflate.encode;
let _ = Br.encode;
Decode
use *;
let _ = Gzip.decode;
let _ = Deflate.decode;
let _ = Br.decode;
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Contact
For any inquiries, please reach out to the author at ltpp-universe root@ltpp.vip.