Skip to main content

build_url

Function build_url 

Source
pub fn build_url(base_url: &str, path: &str, query: &[(&str, &str)]) -> String
Expand description

Builds a full request URL from a base URL, a path and query pairs.

Pairs with an empty value are dropped, like None values in the other clients.