Url |
The UrlParts type exposes the following members.
Name | Description | |
---|---|---|
Fragment | Fragment (hash) identifier component (i.e., the string following the '#'). | |
Host | Host component. This may be a hostname, an IPv4 address or an IPv6 literal surrounded by square brackets (e.g., "[2001:db8::1]"). | |
Origin | Origin contains just the scheme, host, and port from a URL. Equivalent to clearing any username and password, replacing the path with a slash, and clearing everything after that. This value will be empty for non-standard URLs. | |
Password | Password component. | |
Path | Path component including the first slash following the host. | |
Port | Port number component. | |
Query | Query string component (i.e., everything following the '?'). | |
Scheme | Scheme component not including the colon (e.g., "http"). | |
Spec | The complete URL specification. | |
Username | User name component. |