1 | import { AxiosInstance } from "axios";
|
2 | import { ClientOptions, HttpClient } from "./models";
|
3 | export declare class AxiosHttpClient extends HttpClient {
|
4 | client: AxiosInstance;
|
5 | private errorHandler;
|
6 | constructor(configOptions?: ClientOptions.Configuration);
|
7 | /**
|
8 | * Create http client instance with default settings.
|
9 | *
|
10 | * @return {AxiosInstance}
|
11 | */
|
12 | initHttpClient(configOptions?: ClientOptions.Configuration): void;
|
13 | |
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | httpRequest<T>(method: ClientOptions.HttpMethod, path: string, queryParameters: ({} | object), body: (null | object), requestHeaders: any): Promise<T>;
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | private transformError;
|
30 | |
31 |
|
32 |
|
33 |
|
34 |
|
35 | private getRequestTimeoutInSeconds;
|
36 | private adjustValue;
|
37 | }
|