Skip to main content

local_address_ok

Function local_address_ok 

Source
pub fn local_address_ok(addr: &str) -> bool
Expand description

A local_network entry: host:port exactly, where host is localhost, an IPv4 literal, a bracketed IPv6 literal or a lowercase DNS name, and port 1-65535 without a leading zero. No scheme, path or wildcard.