1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| import * as http from 'http'
| import * as https from 'https'
| import { URL } from 'url'
|
| declare class HttpProxyAgent extends http.Agent {
| constructor(options: HttpProxyAgentOptions)
| }
|
| interface HttpProxyAgentOptions extends http.AgentOptions {
| proxy: string | URL
| }
|
| declare class HttpsProxyAgent extends https.Agent {
| constructor(options: HttpsProxyAgentOptions)
| }
|
| interface HttpsProxyAgentOptions extends https.AgentOptions {
| proxy: string | URL
| }
|
| export {
| HttpProxyAgent,
| HttpProxyAgentOptions,
| HttpsProxyAgent,
| HttpsProxyAgentOptions
| }
|
|