Skip to main content

PEER_ADDR_KEY

Constant PEER_ADDR_KEY 

Source
pub const PEER_ADDR_KEY: &'static str;
Expand description

The headers-map key under which a binding records the address of the connection a call arrived on, as ip:port; see CallContext::peer_addr.

A transport of your own that calls the RequestHandler directly sets it in the headers map it passes.