devstar插件
This commit is contained in:
16
node_modules/@algolia/requester-node-http/dist/requester.http.d.ts
generated
vendored
Normal file
16
node_modules/@algolia/requester-node-http/dist/requester.http.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import http from 'http';
|
||||
import https from 'https';
|
||||
import { Requester } from '@algolia/client-common';
|
||||
|
||||
type CreateHttpRequesterOptions = Partial<{
|
||||
agent: http.Agent | https.Agent;
|
||||
httpAgent: http.Agent;
|
||||
httpsAgent: https.Agent;
|
||||
/**
|
||||
* RequestOptions to be merged with the end request, it will override default options if provided.
|
||||
*/
|
||||
requesterOptions: https.RequestOptions;
|
||||
}>;
|
||||
declare function createHttpRequester({ agent: userGlobalAgent, httpAgent: userHttpAgent, httpsAgent: userHttpsAgent, requesterOptions, }?: CreateHttpRequesterOptions): Requester;
|
||||
|
||||
export { type CreateHttpRequesterOptions, createHttpRequester };
|
Reference in New Issue
Block a user