[src]

Function url::from_str

pub fn from_str(rawurl: &str) -> Result<Url, ~str>

Parses a URL, converting it from a string to Url representation.

Arguments

rawurl - a string representing the full URL, including scheme.

Returns

A Url struct type representing the URL.