/third_party/node/test/parallel/ |
D | test-http-createConnection.js | 33 http.get({ createConnection: fn }, (res) => { property 44 await commonHttpGet(createConnection); 60 function createConnection() { function 61 return net.createConnection(server.address().port, '127.0.0.1'); 66 cb(null, net.createConnection(server.address().port, '127.0.0.1')); 71 const socket = net.createConnection(server.address().port, '127.0.0.1'); 79 const socket = net.createConnection(server.address().port, '127.0.0.1');
|
D | test-net-server-max-connections-close-makes-more-available.js | 20 function createConnection(index) { function 24 const connection = net.createConnection(server.address().port, function() { 71 createConnection(0) 72 .then(createConnection.bind(null, 1)) 74 .then(createConnection.bind(null, 2)) 75 .then(createConnection.bind(null, 3))
|
D | test-net-pause-resume-connecting.js | 43 conn = net.createConnection(this.address().port, 'localhost'); 49 conn = net.createConnection(this.address().port, 'localhost'); 56 conn = net.createConnection(this.address().port, 'localhost'); 63 conn = net.createConnection(this.address().port, 'localhost'); 71 conn = net.createConnection(this.address().port, 'localhost');
|
D | test-https-agent-create-connection.js | 57 const socket = agent.createConnection(options); 72 const socket = agent.createConnection(port, options); 87 const socket = agent.createConnection(port, host, options); 101 const socket = agent.createConnection(port, host, options); 113 const socket = agent.createConnection(port, host, options); 128 const socket = agent.createConnection(port, host, options); 147 const socket = agent.createConnection(port, host, options);
|
D | test-net-connect-options-path.js | 38 net.createConnection(serverPath, getConnectCb()).resume(); 39 net.createConnection(serverPath) 50 net.createConnection({ path: serverPath }, getConnectCb()).resume(); 51 net.createConnection({ path: serverPath })
|
D | test-http-client-defaults.js | 8 const req = new ClientRequest({ createConnection: () => {} }); method 14 const req = new ClientRequest({ method: '', createConnection: () => {} }); method 20 const req = new ClientRequest({ path: '', createConnection: () => {} }); method
|
D | test-http2-connect.js | 53 const createConnection = mustCall(() => socket); constant 54 const options = { createConnection }; field 87 const createConnection = mustCall(() => socket); constant 88 const options = { createConnection }; field
|
D | test-net-pipe-connect-errors.js | 59 const notSocketClient = net.createConnection(emptyTxt, function() { 70 const noEntSocketClient = net.createConnection('no-ent-file', function() { 88 const accessClient = net.createConnection(common.PIPE, function() {
|
D | test-http-generic-streams.js | 20 createConnection: common.mustCall(() => clientSide) property 45 createConnection: common.mustCall(() => clientSide), property 86 createConnection: common.mustCall(() => clientSide), property 126 createConnection: common.mustCall(() => clientSide), property
|
D | test-http-upgrade-server.js | 83 const conn = net.createConnection(server.address().port); 121 const conn = net.createConnection(server.address().port); 145 const conn = net.createConnection(server.address().port);
|
D | test-http-client-abort-no-agent.js | 10 createConnection(options, oncreate) { method 11 const socket = net.createConnection(options, oncreate);
|
D | test-http-client-abort-unix-socket.js | 8 createConnection(options, oncreate) { method in Agent 9 const socket = super.createConnection(options, oncreate);
|
D | test-http-header-badrequest.js | 5 const { createConnection } = require('net'); 16 const c = createConnection(server.address().port);
|
D | test-http-incoming-message-options.js | 12 createConnection(options) { method 14 return net.createConnection(options);
|
D | test-http-server-destroy-socket-on-client-error.js | 10 const { createConnection } = require('net'); 26 const socket = createConnection({
|
D | test-http-client-abort-keep-alive-destroy-res.js | 9 createConnection(options, oncreate) { method in Agent 10 const socket = super.createConnection(options, oncreate);
|
D | test-net-server-close.js | 57 net.createConnection(this.address().port); 58 net.createConnection(this.address().port);
|
D | test-http-host-header-ipv6-fail.js | 25 return net.createConnection(options); 37 requests[i].createConnection =
|
D | test-http-client-abort-keep-alive-queued-unix-socket.js | 9 createConnection(options, oncreate) { method in Agent 10 const socket = super.createConnection(options, oncreate);
|
D | test-http-header-overflow.js | 7 const { createConnection } = require('net'); 32 const c = createConnection(server.address().port);
|
D | test-http-client-abort-keep-alive-queued-tcp-socket.js | 11 createConnection(options, oncreate) { method in Agent 12 const socket = super.createConnection(options, oncreate);
|
/third_party/node/benchmark/http/ |
D | create-clientrequest.js | 28 path: new URL(i).path, createConnection: noop property 41 result = new ClientRequest(options[i], { createConnection: noop }); property 49 result = new ClientRequest(data[i], { createConnection: noop }); property
|
/third_party/node/deps/npm/node_modules/socks/docs/examples/typescript/ |
D | connectExample.md | 11 The 'connect' command can be used via the SocksClient.createConnection() factory function as well a… 13 ### Using createConnection with async/await 15 Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow contro… 37 const info = await SocksClient.createConnection(options); 78 ### Using createConnection with Promises 98 SocksClient.createConnection(options) 137 ### Using createConnection with callbacks 139 SocksClient.createConnection() optionally accepts a callback function as a second parameter. 161 SocksClient.createConnection(options, (err, info) => {
|
/third_party/node/deps/npm/node_modules/socks/docs/examples/javascript/ |
D | connectExample.md | 11 The 'connect' command can be used via the SocksClient.createConnection() factory function as well a… 13 ### Using createConnection with async/await 15 Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow contro… 37 const info = await SocksClient.createConnection(options); 77 ### Using createConnection with Promises 97 SocksClient.createConnection(options) 135 ### Using createConnection with callbacks 137 SocksClient.createConnection() optionally accepts a callback function as a second parameter. 159 SocksClient.createConnection(options, (err, info) => {
|
/third_party/node/deps/npm/node_modules/socks/docs/ |
D | migratingFromV1.md | 12 - In v2, only the 'connect' command is supported via the factory SocksClient.createConnection funct… 13 - In v2, the factory SocksClient.createConnection function callback is called with a single object … 36 Socks.createConnection(options, function(err, socket, info) { 72 SocksClient.createConnection(options, function(err, result) {
|