Expand description
HTTP/1.1 message syntax (RFC 9112).
I/O-free coroutines implementing the HTTP/1.1 wire protocol: no sockets, no
async runtime, no std. Shared types (status codes, headers, request,
response) live in crate::rfc9110.
Modules§
- chunk
- I/O-free coroutine decoding a
Transfer-Encoding: chunkedbody (RFC 9112 §7.1) into a single buffer. For incremental consumption usesuper::chunk_stream::Http11ReadChunksStream. - chunk_
stream - I/O-free coroutine decoding a
Transfer-Encoding: chunkedbody (RFC 9112 §7.1) one chunk at a time; suitable for SSE and other long-lived streams. - read_
headers - I/O-free coroutine reading and parsing an HTTP/1.X response head
(RFC 9112 §6). Composed by
Http10Send,Http11Send, and the SSE bootstrap. - request
- HTTP/1.1 request serialisation onto the wire (RFC 9112 §3).
- send
- I/O-free coroutine sending an HTTP/1.1 request and receiving its response (RFC 9112).
- version
- HTTP/1.1 version string constant (RFC 9112 §2.3).