Skip to main content

host

Function host 

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

Whether host, as http::uri::Authority::host gives it (an IPv6 literal keeps its brackets), is loopback for plain HTTP.