UNPKG

@push.rocks/smartrequest

Version:

A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.

11 lines (10 loc) 275 B
import * as https from 'https'; export interface ISmartRequestOptions extends https.RequestOptions { keepAlive?: boolean; requestBody?: any; autoJsonParse?: boolean; queryParams?: { [key: string]: string; }; hardDataCuttingTimeout?: number; }