SagaHttp
HTTP and TCP server and client primitives
Guide
Getting started
What saga_http is for, a minimal serve example, and the scope boundary against routers and frameworks.
Requests
The Request record, RequestTarget forms, header lookup, body buffering, and peer resolution.
Responses
The Response record, text/bytes/stream constructors, chunked streaming, header sanitization, and canned error responses.
Server lifecycle
serve, await_shutdown, shutdown_and_wait, and the Server effect with its event variants and ready-made handlers.
Configuration
Config fields grouped by identity, framing limits, timeouts, and capacity.
Architectural recipes
Recipe A: a pure router on top of serve. Recipe B: a custom connection loop using parse_request and send_response.