apisearch
Version:
Javascript client for Apisearch.
26 lines (25 loc) • 647 B
TypeScript
import { HttpClient } from "./HttpClient";
import { Response } from "./Response";
export declare class TestClient implements HttpClient {
calls: any[];
/**
* Get
*
* @param url
* @param method
* @param credentials
* @param parameters
* @param data
*
* @return {Promise<Response>}
*/
get(url: string, method: string, credentials: any, parameters?: any, data?: any): Promise<Response>;
/**
* Abort current request
* And regenerate the cancellation token
*
* @param url
* @param urlIsFormatted
*/
abort(url: string, urlIsFormatted: boolean): void;
}