UNPKG

@atomist/automation-client

Version:
21 lines 829 B
import { HttpClient, HttpClientFactory, HttpClientOptions, HttpResponse } from "./httpClient"; /** * Axios based HttpClient implementation. */ export declare class AxiosHttpClient implements HttpClient { exchange<T>(url: string, options?: HttpClientOptions): Promise<HttpResponse<T>>; } /** * HttpClientFactory that creates HttpClient instances backed by Axios. */ export declare class AxiosHttpClientFactory implements HttpClientFactory { create(url?: string): HttpClient; } /** * Default HttpClientFactory which gets registered in the automation-client if not a * different HttpClientFactory implementation is configured. * @see Configuration.http.client.factory * @type {HttpClientFactory} */ export declare const DefaultHttpClientFactory: AxiosHttpClientFactory; //# sourceMappingURL=axiosHttpClient.d.ts.map