Skip to main content

is_loopback_host

Function is_loopback_host 

Source
pub fn is_loopback_host(host: &str) -> bool
Expand description

Is host a loopback address (or the localhost name)? Anything else — a LAN address, or the 0.0.0.0 / :: wildcards — publishes the app’s data beyond this machine.