ReadonlyformatCustom options for formatting query strings.
ReadonlyparseCustom options for parsing query strings.
Checks if the wrapper is frozen (read-only).
true if the wrapper is frozen, false otherwise.
Freezes the wrapper to prevent modifications.
This wrapper for method chaining.
Gets the host part.
The host string.
Gets the URL query string as a parsed object (cached).
The parsed query string as an object.
Checks if the URL pathname matches a string or regular expression.
The string path or RegExp pattern to match.
true if the pathname matches, false otherwise.
Merges a partial URL object into the current URL.
The partial URL object with properties to update.
This wrapper for method chaining.
Sets the URL query string from an object.
The query string object to set.
This wrapper for method chaining.
Returns the URL as an absolute string.
The absolute URL string.
Returns the URL as a relative string.
The relative URL string.
StaticfromFactory method to create a wrapper from an absolute URL string.
The absolute URL string.
A new wrapper instance.
StaticfromFactory method to create a wrapper from a relative URL string.
The relative URL string.
A new wrapper instance.
StaticfromFactory method to create a wrapper from a request-like object.
The object with an optional url property.
A new wrapper instance.
StaticfromFactory method to create a wrapper from scratch.
A new wrapper instance with default values.
Wrapper class for HTTP message URLs.