Expand description
The proxy as one tower service: native gRPC to the upstream, everything else to the proxy’s routes, and what no route answers to a fallback.
Structs§
- Connection
Info - The connection requests arrive on, in the form a tonic server records it: the TCP ends, and behind TLS the client’s certificate chain.
- Proxy
Service - The proxy as a tower service, built by
ProxyServer::service. - Response
Future - The response future of
ProxyService.
Type Aliases§
- TlsConnect
Info - tonic’s
TlsConnectInfo<TcpConnectInfo>, the record its TLS server puts on a request andRequest::peer_certsreads. tonic exports the name only with a TLS backend feature, so it is reached through the stream it describes.