clean_str

Function clean_str 

Source
pub fn clean_str(url: &str) -> Result<String, ParseError>
Expand description

Removes tracking parameters from a given string reference that is expected to be a valid URL.

This returns the cleaned URL as String. This returns error when the given input is not a valid URL.