1 | # Installation
|
2 | > `npm install --save @types/forever-agent`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for forever-agent (https://github.com/mikeal/forever-agent).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forever-agent.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forever-agent/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for forever-agent 0.6
|
12 | // Project: https://github.com/mikeal/forever-agent
|
13 | // Definitions by: Dmitry Guketlev <https://github.com/yavanosta>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 |
|
16 | /// <reference types="node" />
|
17 |
|
18 | import { Agent as HttpAgent, AgentOptions as HttpAgentOptions } from "http";
|
19 |
|
20 | export = ForeverAgentModule;
|
21 |
|
22 | interface ForeverAgentOptions extends HttpAgentOptions {
|
23 | minSockets?: number | undefined;
|
24 | }
|
25 |
|
26 | declare class ForeverAgent extends HttpAgent {
|
27 | constructor(options?: ForeverAgentOptions);
|
28 |
|
29 | static defaultMinSockets: number;
|
30 | }
|
31 |
|
32 | declare class ForeverAgentSSL extends ForeverAgent {
|
33 | constructor(options?: ForeverAgentOptions);
|
34 | }
|
35 |
|
36 | declare const ForeverAgentModule: typeof ForeverAgent & {
|
37 | SSL: typeof ForeverAgentSSL;
|
38 | };
|
39 |
|
40 | ````
|
41 |
|
42 | ### Additional Details
|
43 | * Last updated: Thu, 14 Sep 2023 15:26:41 GMT
|
44 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
45 | * Global values: none
|
46 |
|
47 | # Credits
|
48 | These definitions were written by [Dmitry Guketlev](https://github.com/yavanosta).
|
49 |
|
\ | No newline at end of file |