Skip to main content

url_encode

Function url_encode 

Source
pub fn url_encode(s: &str) -> String
Expand description

Percent-encodes a string for use in a URL component.

ASCII letters, digits and unreserved punctuation remain unchanged. Other UTF-8 bytes are encoded with uppercase hexadecimal digits.