The base URL. It should not contain any query string yet.
Adds a query parameter. Does nothing if the value is undefined.
The name for the query parameter.
Optional
value: string | number | booleanThe value for the query parameter.
This URL builder object.
Adds several query parameters with the same name. Does nothing if the value is undefined.
The name for each of the query parameters.
Optional
values: string[] | number[] | boolean[]The values for the query parameters.
This URL builder object.
A utility class that can be used to build URLs. This makes it useful for implementing HttpRequest.