| 1 | mod decoder; |
| 2 | mod encoder; |
| 3 | |
| 4 | pub use decoder::{decode_request_body, decode_request_headers, decode_response}; |
| 5 | pub use encoder::{encode_request, encode_response}; |
| 6 | |
| 7 | /// Capacity for buffers. |
| 8 | /// |
| 9 | /// Should be significantly greater than BufWriter capacity to avoid flush in the `copy` method. |
| 10 | pub(super) const BUFFER_CAPACITY: usize = 16 * 1024; |