Skip to main content

Module proxy

Module proxy 

Source
Expand description

HTTP proxy handler: routes health checks and metrics, runs middleware, forwards to upstream, and records audit + metrics for each request.

Structs§

ProxyState
Shared state for the proxy handler.

Functions§

build_audit
Build an AuditSink and RedactionConfig from the proxy’s audit config.
handle_request
Handle an incoming request: health check, metrics, middleware, then proxy upstream.