source: trip-planner-front/node_modules/socks-proxy-agent/dist/agent.d.ts@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 666 bytes
RevLine 
[6a3a178]1/// <reference types="node" />
2import net from 'net';
3import { Agent, ClientRequest, RequestOptions } from 'agent-base';
4import { SocksProxyAgentOptions } from '.';
5/**
6 * The `SocksProxyAgent`.
7 *
8 * @api public
9 */
10export default class SocksProxyAgent extends Agent {
11 private lookup;
12 private proxy;
13 private tlsConnectionOptions;
14 constructor(_opts: string | SocksProxyAgentOptions);
15 /**
16 * Initiates a SOCKS connection to the specified SOCKS proxy server,
17 * which in turn connects to the specified remote host and port.
18 *
19 * @api protected
20 */
21 callback(req: ClientRequest, opts: RequestOptions): Promise<net.Socket>;
22}
Note: See TracBrowser for help on using the repository browser.