Route representation type. ChURIRoute by default.
URI query representation type. ChURIQuery by default.
URI anchor representation type. ChURIAnchor by default.
Authentication info representation type. ChURIAuth by default.
Constructs charged URI.
Absolute URI string conforming to RFC3986.
Rest
...options: ChURIRoute<ChURIMatrix<URICharge>> extends TRouteCharged URI options.
Rest
Constructs charged URI.
URI anchor
Authentication info contained within username.
String containing a "#" followed by the fragment identifier of the URI.
The fragment is not percent-decoded. If the URI does not have a fragment identifier, this property contains an empty string — "".
See RFC3986, Section 3.5.
String containing the host, that is the hostname, and then, if the port of the URI is nonempty, a ":"", followed by the port of the URL.
String containing the domain name of the URI.
String containing the whole URI.
See URL.href
String containing the Unicode serialization of the origin of the represented URI.
Depends on the type of URI.
See URL.origin.
String containing the password specified before the domain name.
String containing the path of the URI.
String containing the port number of the URI.
String representing hierarchical protocol scheme of the URI, including the final :
.
In contrast to URL.protocol, hierarchical protocol includes all protocols preceding host or path.
I.e. for URIs likeblob:http://example.com
it returns blob:http:
rather just blob:
.
Decoded URI query. The same as searchParams.
Parsed path representing route.
The returned ChURIRoute instance refers the first fragment of the path.
String containing hierarchical URI scheme without trailing :
.
hierarchical scheme includes all schemae preceding host or path.
I.e. for URIs likeblob:http://example.com
it returns blob:http
rather just blob
.
A search string, also called a query string, that is a string containing a "?"" followed by the parameters of the URI.
See RFC3986, Section 3.4.
Decoded search parameters of the URI.
Resembles URL.searchParams in its readonly part.
This is an alias of query property.
String containing the username specified before the domain name.
Builds a string containing a serialized version of the URI.
String representation of URI.
Builds a string containing the whole URI.
href property value.
Generated using TypeDoc
Charged URI.
Represents URI conforming to RFC3986. Resembles standard URL class in its read-only part.
Supports Matrix URI syntax by representing path as route.
Allows to parse URI charge attached to various parts of the URI.
Parses the data on demand, so it does not affect performance when not needed.