Protected
constructorProtected
baseProtected
Optional
fetchProtected
Optional
fetchProtected
handle401Protected
hooksProtected
jwtProtected
logsProtected
pendingProtected
retryProtected
retryProtected
retryProtected
Static
instanceSingleton instance of FetchRestSingleton.
Protected
Static
ongoing401Protected
buildOptional
opts: FRRequestOptions<unknown> & { method?: FRHttpMethod }Protected
buildOptional
body: unknownProtected
buildOptional
params: Record<string, string | number>Optional
query: Record<string, undefined | string | number | boolean | string[] | number[]>Optional
options: Omit<FRRequestOptions<unknown>, "body">Optional
options: Omit<FRRequestOptions<unknown>, "body">Optional
options: Omit<FRRequestOptions<unknown>, "body">Protected
logOptional
options: FRRequestOptions<TBody>Optional
options: FRRequestOptions<TBody>Optional
options: FRRequestOptions<TBody>Protected
sleepStatic
getGet the singleton instance of FetchRestSingleton.
Singleton class for making HTTP requests using the Fetch API. RECOMMENDATION: It is recommmeded to use this class instead of base FetchRest for most of the uses