Expand description
Slim HTTP 1.1 client/server library.
I felt compelled (or inspired if you will) to write this library after reading this article: https://medium.com/@shnatsel/smoke-testing-rust-http-clients-b8f2ee5db4e6
More on the controversial side of the Rust community, it seemed quite interesting how such eloquent libraries could be riddled down to such minor details that could cause major problems. So, I’m throwing another into the mix that will probably hit that same point.
No async functionality. Decisively using deadlines for DoS prevention (didn’t want to deal with leaky thread racing). Using Rustls for SSL/TLS encryption. Using flate2 for compression/decompression (GZip only).
Macros§
- implbufread
- Generic impl BufRead macro.
- implgets
- Impl get_ref and get_mut.
- implread
- Generic impl Read macro.
- implwrite
- Generic impl Write macro.
Structs§
- General
Info - General response info.
Enums§
- Error
- Represents errors that can (and probably will) occur throughout this library.
- Status
Info - General status info.