1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Agent as HttpAgent, AgentOptions as HttpAgentOptions } from "http";
|
9 |
|
10 | export = ForeverAgentModule;
|
11 |
|
12 | interface ForeverAgentOptions extends HttpAgentOptions {
|
13 | minSockets?: number | undefined;
|
14 | }
|
15 |
|
16 | declare class ForeverAgent extends HttpAgent {
|
17 | constructor(options?: ForeverAgentOptions);
|
18 |
|
19 | static defaultMinSockets: number;
|
20 | }
|
21 |
|
22 | declare class ForeverAgentSSL extends ForeverAgent {
|
23 | constructor(options?: ForeverAgentOptions);
|
24 | }
|
25 |
|
26 | declare const ForeverAgentModule: typeof ForeverAgent & {
|
27 | SSL: typeof ForeverAgentSSL;
|
28 | };
|