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