Expand description
Minimal async HTTP/1.1 client for the Moirai runtime.
Runs over Moirai async sockets and moirai_tls — no Tokio. Scope is the
request shapes object-storage clients need (GET with Range, HEAD, small
PUT/POST bodies): Content-Length and chunked response framing, a bounded
keep-alive connection pool, and per-request timeouts. HTTP/2 is out of scope
(ADR-015). Vendor protocols (e.g. S3 SigV4) are built by callers on top of this
— this crate knows HTTP, not S3.
Re-exports§
Modules§
- codec
- HTTP/1.1 request serialization and response parsing (status line, headers, and body framing: Content-Length, chunked transfer-encoding, or EOF-delimited).
- conn
- Transport connection: a plain or TLS-wrapped Moirai TCP stream, unified as a
single Moirai async stream via a static enum (no
dynon the hot path).
Structs§
- Http
Client - Async HTTP/1.1 client with a bounded keep-alive connection pool.