Skip to main content

client_ip

Function client_ip 

Source
pub fn client_ip(request: &Request, trusted: &[IpNet]) -> Option<IpAddr>
Expand description

Resolves the request’s client IP, retaining None when connection info is missing.