globalping-ts
Version:
Typescript library for the Globalping API
7 lines (6 loc) • 355 B
TypeScript
import { RequestMethod } from './types';
export declare function request(method: RequestMethod, url: string, headers: {
[K: string]: string;
}, data?: string | false, debug?: boolean, retry?: boolean): Promise<any>;
export declare function sleep(seconds: number): Promise<unknown>;
export declare function parseETag(etag: string | undefined): string;