[−][src]Trait tonic::transport::server::Connected
This is supported on
feature="transport"
only.Trait that connected IO resources implement.
The goal for this trait is to allow users to implement custom IO types that can still provide the same connection metadata.
Provided methods
fn remote_addr(&self) -> Option<SocketAddr>
This is supported on
feature="transport"
only.Return the remote address this IO resource is connected too.
fn peer_certs(&self) -> Option<Vec<Certificate>>
This is supported on
feature="transport"
only.Return the set of connected peer TLS certificates.