Structs§
- Adapter
Snapshot - Direct
Response Head - Validated minimal upstream response head.
- Health
Snapshot
Constants§
- DIRECT_
PROXY_ ERROR_ FRAME - The only frame emitted after a direct SSE response has opened and later fails closed.
- DIRECT_
PROXY_ PING_ FRAME - Compiled ping emitted by a direct SSE response only after its upstream head is accepted.
Functions§
- classify_
upstream_ status - Maps an upstream status without reading its body or redirect metadata.
- parse_
request_ stream_ format - Parses the request
streamcontrol as a closed boolean without sniffing or fallback. - serve
- Bind the configured address and serve until cancelled or the server fails.
- serve_
with_ listener - Serve on an already bound listener, retaining ownership throughout startup.
- serve_
with_ ready - Invoke
readyonly after configuration validation and a successful bind. - validate_
declared_ body - Validates one complete declared body without format sniffing or fallback.
- validate_
direct_ response_ head - Validates a raw upstream head and rebuilds its minimal transformed header allowlist.