Skip to main content

parse

Function parse 

Source
pub fn parse(
    url: &str,
    parse_query_string: bool,
    slashes_denote_host: bool,
) -> Result<Url, String>
Expand description

Port of Url.prototype.parse. slashes_denote_host is the third url.parse argument. Errors correspond to the JS throw sites.