Skip to main content

origin

Function origin 

Source
pub fn origin(url: &str) -> Option<String>
Expand description

scheme://host:port of an http(s) URL, lowercase, with the default port filled in, so https://A.example and https://a.example:443/x compare equal.