Skip to main content

encode_for_uri

Function encode_for_uri 

Source
pub fn encode_for_uri(value: &str) -> String
Expand description

Encode a string for use in a URI per RFC 3986.

Only alphanumeric characters and -, _, ., ~ are left unescaped. All other characters are percent-encoded using UTF-8.