ReadonlyformatCustom options for formatting query strings
ReadonlyparseCustom options for parsing query strings
Check if wrapper is frozen (read-only).
true if wrapper is frozen, false otherwise
Freeze wrapper to prevent modifications.
This wrapper for method chaining
Get host part (hostname:port or just hostname).
Host string
Get URL query string as parsed object (cached).
Parsed query string as object
Match URL pathname against string or regex.
String path or RegExp pattern
true if pathname matches, false otherwise
Merge partial URL object.
Partial URL object with properties to update
This wrapper for method chaining
Set URL query string from object.
Query string object
This wrapper for method chaining
Get URL as absolute string.
Absolute URL string
Get URL as relative string.
Relative URL string
StaticfromFactory method to create wrapper from absolute URL string.
Absolute URL string
New wrapper instance
StaticfromFactory method to create wrapper from relative URL string.
Relative URL string
New wrapper instance
StaticfromFactory method to create wrapper from request-like object.
Object with optional url property
New wrapper instance
Staticfrom
Wrapper for HTTP message URL.