UNPKG

server-status-check

Version:

query the server periodically to check whether it is up

16 lines 572 B
/// <reference types="node" /> import https from 'https'; import { LoadDictElement } from 'di-why/build/src/DiContainer'; declare type GetRequestorResolveParam = { data: string; response: { rawHeaders: string[]; headers: { [k: string]: string | string[] | undefined; }; }; }; declare type GetRequestor = (uri: string, options?: https.RequestOptions) => Promise<GetRequestorResolveParam>; declare const loadDictElement: LoadDictElement<GetRequestor>; export default loadDictElement; //# sourceMappingURL=getRequestor.d.ts.map