Expand description
Handler trait — the L4/L7 plug-in point between the transport engine and protocol logic (HTTP parsing/routing lives above this; L4 splice below).
Structs§
- Session
Io - Handler-facing control surface for one session.
Enums§
- Deadline
Reason - Why a session deadline fired — handlers branch on this to decide between closing idle conns and failing in-flight requests.
- Mode
- Proxy mode a handler serves (chosen per listener).
- Upstream
Dial - Outcome of an upstream dial.
Traits§
- Handler
- Per-connection handler. One instance is shared by all sessions of a
worker (single-threaded dispatch; per-connection state lives in the
session, reached through
SessionIo). - Handler
Factory - Builds a
Handlerfor each worker.