url_encode

Function url_encode 

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

URL 编码函数

对字符串进行 URL 编码,保留字母数字和部分特殊字符

§Arguments

  • input - 要编码的字符串

§Returns

返回 URL 编码后的字符串