aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts b/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts
new file mode 100644
index 00000000..96f44af7
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/agent.d.ts
@@ -0,0 +1,22 @@
+/// <reference types="node" />
+import net from 'net';
+import { Agent, ClientRequest, RequestOptions } from 'agent-base';
+import { SocksProxyAgentOptions } from '.';
+/**
+ * The `SocksProxyAgent`.
+ *
+ * @api public
+ */
+export default class SocksProxyAgent extends Agent {
+ private lookup;
+ private proxy;
+ private tlsConnectionOptions;
+ constructor(_opts: string | SocksProxyAgentOptions);
+ /**
+ * Initiates a SOCKS connection to the specified SOCKS proxy server,
+ * which in turn connects to the specified remote host and port.
+ *
+ * @api protected
+ */
+ callback(req: ClientRequest, opts: RequestOptions): Promise<net.Socket>;
+}