This commit is contained in:
spiritlhl
2023-06-20 00:59:07 +00:00
parent 2c85d0e3a0
commit 6f5966067d
2011 changed files with 787033 additions and 1449 deletions

View File

@@ -0,0 +1,16 @@
/// <reference types="node" />
import { Destroyable } from '@algolia/requester-common';
import * as http from 'http';
import * as https from 'https';
import { Requester } from '@algolia/requester-common';
export declare function createNodeHttpRequester({ agent: userGlobalAgent, httpAgent: userHttpAgent, httpsAgent: userHttpsAgent, requesterOptions, }?: NodeHttpRequesterOptions): Requester & Destroyable;
export declare type NodeHttpRequesterOptions = {
agent?: https.Agent | http.Agent;
httpAgent?: http.Agent;
httpsAgent?: https.Agent;
requesterOptions?: https.RequestOptions;
};
export { }