123456789101112131415161718192021222324252627282930 |
- import net from 'net';
- import { Agent, ClientRequest, RequestOptions } from 'agent-base';
- import { HttpsProxyAgentOptions } from '.';
- export default class HttpsProxyAgent extends Agent {
- private secureProxy;
- private proxy;
- constructor(_opts: string | HttpsProxyAgentOptions);
- /**
- * Called when the node-core HTTP client library is creating a
- * new HTTP request.
- *
- * @api protected
- */
- callback(req: ClientRequest, opts: RequestOptions): Promise<net.Socket>;
- }
|