Skip to main content

origin

Function origin 

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

An address’s origin, what a login is kept to: its scheme, host and port, in lowercase, the port written even when it is the scheme’s own (https://dav.example.org:443). None without a scheme or a host.