Structs§
- Client
Ip - The originating client IP, resolved by
ResolveClientIpLayerand stored in a request’s extensions. - Grpc
IpExtractor - Wraps
SmartIpKeyExtractorby providing a fallback to the client IP address provided by the gRPC transport. - Resolve
Client Ip - The service produced by
ResolveClientIpLayer. - Resolve
Client IpLayer - A
tower::Layerthat resolves the originating client IP and stores it in the request’s extensions asClientIp.
Traits§
- UrlExt
- A sealed extension trait for
url::Urlthat adds convenience functions for binding and connecting to the url.
Functions§
- server_
builder - Creates a gRPC server builder with HTTP/2 liveness checks.
- tcp_
incoming - Creates an incoming stream with TCP liveness checks on accepted sockets.