[src]

Function url::query_to_str

pub fn query_to_str(query: &Query) -> ~str

Converts an instance of a URI Query type to a string.

Example

let query = vec!((~"title", ~"The Village"), (~"north", ~"52.91"), (~"west", ~"4.10"));
println!("{}", url::query_to_str(&query));  // title=The%20Village&north=52.91&west=4.10