- Preparing search index...
- The search index is not available
TESSA Web API
Methods
addToHeaders
-
Parameters
-
headers: HeadersInit
-
key: string
-
value: string
Returns HeadersInit
addToOptionsHeaders
-
Parameters
-
-
key: string
-
value: string
Returns void
addToOptionsInfo
- addToOptionsInfo(opt: HttpOptions, key: string, value: string): void
-
Parameters
-
-
key: string
-
value: string
Returns void
cloneHeaders
-
Returns T
combineURLs
- combineURLs(baseURL: string, relativeURL: string): string
-
Parameters
-
baseURL: string
-
relativeURL: string
Returns string
getFromHeaders
-
Parameters
-
headers: HeadersInit
-
key: string
Returns string | null
getFromOptionsHeaders
-
Returns string | null
getSearchParams
- getSearchParams(params?: HttpSearchParams, removeEmptyValue?: boolean): string
-
Parameters
-
-
removeEmptyValue: boolean = true
Returns string
isAbsoluteURL
- isAbsoluteURL(url: string): boolean
-
Returns boolean
mergeHeaders
-
Type Parameters
-
T extends HeadersInit = HeadersInit
Parameters
-
Optional
target: HeadersInit
-
Optional
source: HeadersInit
Returns T
normalizeHeaders
-
Parameters
-
Optional
headers: HeadersInit
Returns Headers
normalizeMethodName
- normalizeMethodName(method: string): string
-
Returns string