1234567891011121314151617181920212223242526272829303132 |
- import net from 'net';
- import { Agent, ClientRequest, RequestOptions } from 'agent-base';
- import { HttpProxyAgentOptions } from '.';
- interface HttpProxyAgentClientRequest extends ClientRequest {
- path: string;
- output?: string[];
- outputData?: {
- data: string;
- }[];
- _header?: string | null;
- _implicitHeader(): void;
- }
- export default class HttpProxyAgent extends Agent {
- private secureProxy;
- private proxy;
- constructor(_opts: string | HttpProxyAgentOptions);
-
- callback(req: HttpProxyAgentClientRequest, opts: RequestOptions): Promise<net.Socket>;
- }
- export {};
|