Skip to main content

url_set_path

Function url_set_path 

Source
pub fn url_set_path(url: &mut Url, path: &str)
Expand description

Set the path component of a URL.

API differences:

  • url crate: url.set_path(path)
  • ada-url crate: url.set_pathname(Some(path))