Skip to main content

host_from_url

Function host_from_url 

Source
pub fn host_from_url(url: &str) -> Result<String, String>
Expand description

Extract hostname from an http:// or https:// URL.