onirii
Version:
Universal queue SDK
12 lines (11 loc) • 585 B
TypeScript
import { ApiResponseUtilInterface } from '../interface/api-response-util-interface';
export declare class ApiRequestUtil {
private readonly responseAnalyzer;
constructor(responseAnalyzer: ApiResponseUtilInterface, auth: any);
private static createBody;
getRequest(url: string, params?: any, headers?: any): Promise<any>;
postRequest(url: string, params?: any, headers?: any): Promise<any>;
putRequest(url: string, params?: any, headers?: any): Promise<any>;
deleteRequest(url: string, params?: any, headers?: any): Promise<any>;
private createParams;
}