Function client_ip
pub fn client_ip(ext: &impl ExtensionsRef) -> Option<IpAddr>Available on crate feature
net only.Expand description
Best-effort client IP read from ext’s extensions: the Forwarded
client IP when present and received from a peer its selection policy trusts, otherwise the
SocketInfo peer IP, otherwise None.