Function extra::url::to_str

pub fn to_str(url: &Url) -> ~str

Format a url as a string

Arguments

url - a url.

Returns

a str that contains the formatted url. Note that this will usually be an inverse of from_str but might strip out unneeded separators. for example, "http://somehost.com?", when parsed and formatted, will result in just "http://somehost.com".