UNPKG

@3kles/3kles-coreion

Version:
26 lines (25 loc) 756 B
import { HttpApi, IHttpOptions } from '@3kles/3kles-corebe'; import { AuthService } from '../auth'; export interface IHttpIonOptions extends IHttpOptions { retryCounter?: number; } export declare class IONConnector extends HttpApi { private authService; private ionOption; private retry; constructor(authService: AuthService, ionOption: { protocol?: string; context: string; middleware?: string; }); buildRequest(params: any, originDataRequest?: any, data?: string): any; executeRequest(options: any): Promise<{ statusCode: number; headers: any; body: any; }>; get middleware(): string; get context(): string; private buildQueryApi; private buildUrlApi; }