Skip to main content

is_localhost

Function is_localhost 

Source
pub fn is_localhost(addr: IpAddr) -> bool
Expand description

Requests from localhost get relaxed auth requirements — the same localhost-vs-network binding distinction proven useful in the reference servers (looser auth only when bound to localhost, never over an exposed network interface).