Skip to main content

is_localhost

Function is_localhost 

Source
pub fn is_localhost(url: &Url) -> bool
Expand description

Whether a URL points at this machine: localhost, a .localhost name, or a loopback address.