Function
Static Public Summary | ||
public |
combineURLs(baseURL: string, relativeURL: string): string Creates a new URL by combining the specified URLs |
|
public |
isAbsoluteURL(url: string): boolean Determines whether the specified URL is absolute |
Static Public
public combineURLs(baseURL: string, relativeURL: string): string source
import combineURLs from 'standard-http-client/src/helpers/combineURLs.js'
Creates a new URL by combining the specified URLs
public isAbsoluteURL(url: string): boolean source
import isAbsoluteURL from 'standard-http-client/src/helpers/isAbsoluteURL.js'
Determines whether the specified URL is absolute
Params:
Name | Type | Attribute | Description |
url | string | The URL to test |