Methods
fetchWithTimeout
- fetchWithTimeout(resource: any, options: any): Promise<any>
-
Parameters
-
resource: any
-
options: any
Returns Promise<any>
get
- get(url: string, queryParams?: string[], timeout?: undefined | number): Promise<any>
-
Parameters
-
url: string
-
Optional queryParams: string[]
-
Optional timeout: undefined | number
Returns Promise<any>
post
- post(url: string, queryParams?: string[], body?: any, timeout?: undefined | number): Promise<any>
-
Parameters
-
url: string
-
Optional queryParams: string[]
-
Optional body: any
-
Optional timeout: undefined | number
Returns Promise<any>