UNPKG

387 BTypeScriptView Raw
1/// <reference types="node" />
2import { IncomingMessage } from 'http';
3/**
4 * Async wrapper for making HTTP GET requests
5 * @param urlString
6 */
7export declare function httpGetAsync(urlString: string): Promise<IncomingMessage>;
8/**
9 * Async wrapper for making HTTPS GET requests
10 * @param urlString
11 */
12export declare function httpsGetAsync(urlString: string): Promise<IncomingMessage>;