UNPKG

543 BTypeScriptView Raw
1/// <reference types="node" />
2export default class ProxyUtil {
3 static env: NodeJS.ProcessEnv;
4 static readonly httpProxy: string | undefined;
5 static readonly httpsProxy: string | undefined;
6 static readonly noProxy: string | undefined;
7 static shouldDodgeProxy(host: string): boolean;
8 static usingProxy(host?: string): boolean;
9 static readonly sslCertDir: Array<string>;
10 static readonly sslCertFile: Array<string>;
11 static readonly certs: Array<Buffer>;
12 static agent(https: boolean, host?: string): any;
13}