Skip to main content

insert_tonic_connect_info

Function insert_tonic_connect_info 

Source
pub fn insert_tonic_connect_info<B>(request: Request<B>) -> Request<B>
Expand description

Copies the client address and the listener address of a connection served by iota-http into tonic’s TcpConnectInfo, which tonic::Request::remote_addr reads.