Skip to main content

Module service

Module service 

Source
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§

ConnectionInfo
The connection requests arrive on, in the form a tonic server records it: the TCP ends, and behind TLS the client’s certificate chain.
ProxyService
The proxy as a tower service, built by ProxyServer::service.
ResponseFuture
The response future of ProxyService.

Type Aliases§

TlsConnectInfo
tonic’s TlsConnectInfo<TcpConnectInfo>, the record its TLS server puts on a request and Request::peer_certs reads. tonic exports the name only with a TLS backend feature, so it is reached through the stream it describes.