Skip to main content

Module backend

Module backend 

Source
Expand description

Platform-neutral request boundary used by the loopback HTTP server.

Structs§

CancellationToken
Cloneable cooperative cancellation shared by a running proxy and backend work started for that proxy generation.
ProxyConnectTunnel
A raw, policy-bound CONNECT stream. The publication permit must validate before the proxy exposes 200 Connection Established.
ProxyHeader
ProxyPublicationPermit
Cloneable RAII permit carried from a backend result to loopback response-head publication.
ProxyRequest
ProxyResponse
ProxyResponseHead
ProxyTunnel
One typed HTTP Upgrade response and its live origin connection. The proxy validates and sanitizes the response head before exposing it to a client.

Enums§

BackendError
ProxyConnectOpen
Pre-TLS disposition for one authenticated outer CONNECT.
ProxyRequestBody
ProxyResponseBody
ProxyTunnelOpen
Result of opening an Upgrade route. Policy and resolution failures can be returned as a normal bounded HTTP response without falsely switching the client into tunnel mode.

Traits§

ProxyBackend
ProxyConnectShutdown
Thread-safe, nonblocking, idempotent close which must wake both halves.
ProxyPublicationAuthority
Authority hook which atomically validates and publishes one response head.
ProxyTunnelIo