oxhttp 0.3.2

Simple implementation of HTTP 1.1 (both client and server)
Documentation
1
2
3
4
5
6
7
8
9
10
mod decoder;
mod encoder;

pub use decoder::{decode_request_body, decode_request_headers, decode_response};
pub use encoder::{encode_request, encode_response};

/// Capacity for buffers.
///
/// Should be significantly greater than BufWriter capacity to avoid flush in the `copy` method.
pub(super) const BUFFER_CAPACITY: usize = 16 * 1024;