Skip to main content

Module downstream

Module downstream 

Source
Expand description

Downstream proxying from TCP clients to iroh endpoints.

Structs§

Deny
Request rejection with HTTP status code and reason.
DownstreamMetrics
DownstreamProxy
Proxy that accepts TCP connections and forwards them over iroh.
EndpointAuthority
Routing destination combining an iroh endpoint and target authority.
HttpProxyOpts
Configuration for HTTP proxy mode.
PoolOpts
Configuration for the upstream connection pool.
ProxyError
Error from downstream proxy operations.
RequestHandlerChain
Chains multiple request handlers, trying each in order.
StaticForwardProxy
Forward proxy handler that routes all requests to a fixed endpoint.
StaticReverseProxy
Reverse proxy handler that routes all requests to a fixed backend.
TunnelClientStreams
Bidirectional QUIC streams for an established tunnel.

Enums§

ProxyMode
Operating mode for the downstream proxy.
SrcAddr
Source address for downstream client streams.

Traits§

ErrorResponder
Generates HTTP error responses for proxy failures.
RequestHandler
Routes HTTP requests to upstream iroh endpoints.