url.to_string

url.to_string

url.to_string

功能

返回当前 URL 原始文本。

语法

参数

无。

返回值

类型说明
String当前 URL 文本。

代码示例

注意事项

  • to_string 不会解析或规范化 URL。