node-multi-curl
Version:
A performant multi-curl class in Node.js that supports proxies and concurrent requests
13 lines (12 loc) • 354 B
TypeScript
import { IRequestOptions } from './types';
export declare class Request {
url: string;
method: string;
headers: Record<string, string>;
body: any;
proxy?: string;
timeout?: number;
queryParams?: Record<string, string | number | boolean | null | undefined>;
startTime?: number;
constructor(options: IRequestOptions);
}