url_URL
URL object followed by implementing WHATWG URL Standard.
obj url_URL {
origin: str
protocol: str
host: str
hostname: str
port: str
path: str
pathname: str
search: str
hash: str
}
NOTE:
URLs containing authorization information are not supported.
url_URL.str()
Returns a string representation.
fn url_URL.str () str
url_parse()
Parse URL string into url_URL
object.
fn url_parse (url: str) url_URL
url - URL string to parse.