Skip to main content

origin_of

Function origin_of 

Source
pub fn origin_of(url: &str) -> String
Expand description

url’s origin (scheme://host[:port]), or empty if it isn’t http(s).