UNPKG

simple-requests

Version:

A library for performing simple http(s) requests.

6 lines (5 loc) 252 B
/// <reference types="node" /> import https from 'https'; import { IResponse } from './interfaces'; export declare const get: <T>(url: string, options?: https.RequestOptions | undefined) => Promise<IResponse<Error> | IResponse<T>>; export default get;