Searched refs:SocksClient (Results 1 – 11 of 11) sorted by relevance
/third_party/node/deps/npm/node_modules/socks/docs/examples/javascript/ |
D | connectExample.md | 11 …nect' command can be used via the SocksClient.createConnection() factory function as well as by cr… 15 Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow contro… 18 const SocksClient = require('socks').SocksClient; 37 const info = await SocksClient.createConnection(options); 80 const SocksClient = require('socks').SocksClient; 97 SocksClient.createConnection(options) 137 SocksClient.createConnection() optionally accepts a callback function as a second parameter. 142 const SocksClient = require('socks').SocksClient; 159 SocksClient.createConnection(options, (err, info) => { 199 SocksClient also supports instance creation of a SocksClient. This allows for event based flow cont… [all …]
|
D | associateExample.md | 21 The 'associate' command can only be used by creating a new SocksClient instance and listening for t… 23 … are encompassed in a special Socks UDP frame format. SocksClient.createUDPFrame() and SocksClient… 27 const SocksClient = require('socks').SocksClient; 35 console.log(SocksClient.parseUDPFrame(message)); 61 const client = new SocksClient(options); 77 const packet = SocksClient.createUDPFrame({
|
D | bindExample.md | 21 The 'bind' command can only be used by creating a new SocksClient instance and listening for 'bound… 25 const SocksClient = require('socks').SocksClient; 44 const client = new SocksClient(options);
|
/third_party/node/deps/npm/node_modules/socks/ |
D | README.md | 34 import { SocksClient, SocksClientOptions, SocksClientChainOptions } from 'socks'; 37 import { SocksClient } from 'socks'; 40 const SocksClient = require('socks').SocksClient; 65 const info = await SocksClient.createConnection(options); 74 SocksClient.createConnection(options) 84 SocksClient.createConnection(options, (err, info) => { 123 const info = await SocksClient.createConnectionChain(options); 164 SocksClient.createConnectionChain(options) 206 SocksClient.createConnectionChain(options, (err, info) => { 269 // Creates a new SocksClient instance. [all …]
|
/third_party/node/deps/npm/node_modules/socks/docs/examples/typescript/ |
D | connectExample.md | 11 …nect' command can be used via the SocksClient.createConnection() factory function as well as by cr… 15 Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow contro… 18 import { SocksClient, SocksClientOptions } from 'socks'; 37 const info = await SocksClient.createConnection(options); 81 import { SocksClient, SocksClientOptions } from 'socks'; 98 SocksClient.createConnection(options) 139 SocksClient.createConnection() optionally accepts a callback function as a second parameter. 144 import { SocksClient, SocksClientOptions } from 'socks'; 161 SocksClient.createConnection(options, (err, info) => { 202 SocksClient also supports instance creation of a SocksClient. This allows for event based flow cont… [all …]
|
D | associateExample.md | 21 The 'associate' command can only be used by creating a new SocksClient instance and listening for t… 23 …ers are packaged in a special Socks UDP frame format. SocksClient.createUDPFrame() and SocksClient… 27 import { SocksClient, SocksClientOptions } from 'socks'; 35 console.log(SocksClient.parseUDPFrame(message)); 61 const client = new SocksClient(options); 77 const packet = SocksClient.createUDPFrame({
|
D | bindExample.md | 21 The 'bind' command can only be used by creating a new SocksClient instance and listening for 'bound… 25 import { SocksClient, SocksClientOptions } from 'socks'; 44 const client = new SocksClient(options);
|
/third_party/node/deps/npm/node_modules/socks/docs/ |
D | migratingFromV1.md | 12 …d is supported via the factory SocksClient.createConnection function. (BIND and ASSOCIATE must be … 13 - In v2, the factory SocksClient.createConnection function callback is called with a single object … 57 const SocksClient = require('socks').SocksClient; 72 SocksClient.createConnection(options, function(err, result) {
|
/third_party/node/deps/npm/node_modules/socks/typings/client/ |
D | socksclient.d.ts | 6 declare interface SocksClient { interface 19 declare class SocksClient extends EventEmitter implements SocksClient { class 159 export { SocksClient, SocksClientOptions, SocksClientChainOptions, SocksRemoteHost, SocksProxy, Soc…
|
/third_party/node/deps/npm/node_modules/socks-proxy-agent/ |
D | index.js | 9 var SocksClient = require('socks').SocksClient; variable 118 SocksClient.createConnection(options, onhostconnect);
|
/third_party/node/deps/npm/node_modules/socks/build/client/ |
D | socksclient.js | 20 class SocksClient extends events_1.EventEmitter { class 41 const client = new SocksClient(options); 95 const result = yield SocksClient.createConnection({ 722 exports.SocksClient = SocksClient;
|