sensible-sdk
Version:
Sensible-SDK
10 lines (9 loc) • 312 B
TypeScript
declare type HttpConfig = {
timeout?: number;
headers?: any;
};
export declare class ServerNet {
static httpGet(url: string, params: any, cb?: Function, config?: any): Promise<unknown>;
static httpPost(url: string, params: any, cb?: Function, config?: HttpConfig): Promise<unknown>;
}
export {};