Skip to main content

split_origin

Function split_origin 

Source
pub fn split_origin(url: &str) -> Option<(&str, &str)>
Expand description

The scheme and authority of an absolute URL (https://host:port), and the rest (path and query, at least /).