pub fn real_ip( headers: &HeaderMap, remote: IpAddr, trusted_proxies: &[IpNet], ) -> Option<IpAddr>
Get the “real-ip” of an incoming request.
See the top level documentation for more usage details.