Skip to main content

Module conn

Module conn 

Source
Expand description

Connection state machine for handling HTTP/1.1 keep-alive and pipelining.

Each accepted TCP stream is wrapped by Connection and progressed through the parsing, routing, and response lifecycle while ensuring the wire remains synchronised per RFC 9112 requirements.

Structs§

Connection
Represents an individual client connection.
ConnectionConfig
Tunable connection behaviour.

Enums§

ConnectionError
Errors that can arise while servicing a connection.
ConnectionState
High-level phases a connection can occupy.
TimeoutKind
Categorises timeout failures for diagnostics.