Skip to content

std::net::url

Network URL parsing and component escaping; never use filesystem-path rules.

API details and source

The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.

Item Canonical signature or declaration Description
Url type Url Parsed URL.
path_escape fn path_escape(text: String) -> String Percent-encodes a URL path segment.
path_unescape fn path_unescape(text: String) -> String Inverse of path_escape.
query_escape fn query_escape(text: String) -> String Percent-encodes a query parameter.
query_unescape fn query_unescape(text: String) -> String Inverse of query_escape.