Skip to main content

classify_host

Function classify_host 

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

Classify a URL host (hostname or IP literal, with optional [] around an IPv6 literal and an optional trailing FQDN dot).