Skip to main content

is_loopback_endpoint

Function is_loopback_endpoint 

Source
pub fn is_loopback_endpoint(endpoint: &str) -> bool
Expand description

True when endpoint is an http(s) URL whose host is loopback (localhost, 127.0.0.0/8, ::1).