flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
35
BACK_BACK/node_modules/hpagent/index.d.ts
generated
vendored
Executable file
35
BACK_BACK/node_modules/hpagent/index.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
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,
|
||||
proxyRequestOptions?: ProxyAgentRequestOptions
|
||||
}
|
||||
|
||||
declare class HttpsProxyAgent extends https.Agent {
|
||||
constructor(options: HttpsProxyAgentOptions)
|
||||
}
|
||||
|
||||
interface HttpsProxyAgentOptions extends https.AgentOptions {
|
||||
proxy: string | URL,
|
||||
proxyRequestOptions?: ProxyAgentRequestOptions
|
||||
}
|
||||
|
||||
interface ProxyAgentRequestOptions {
|
||||
ca?: string[],
|
||||
headers?: Object,
|
||||
rejectUnauthorized?: boolean
|
||||
}
|
||||
|
||||
export {
|
||||
HttpProxyAgent,
|
||||
HttpProxyAgentOptions,
|
||||
HttpsProxyAgent,
|
||||
HttpsProxyAgentOptions,
|
||||
ProxyAgentRequestOptions,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue