Home
last modified time | relevance | path

Searched refs:createConnection (Results 1 - 25 of 54) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-http-createConnection.js33 http.get({ createConnection: fn }, (res) => {
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');
H A Dtest-net-server-max-connections-close-makes-more-available.js20 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))
H A Dtest-https-agent-create-connection.js57 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);
H A Dtest-http-client-abort3.js7 function createConnection() { function
18 const req = http.get({ createConnection });
26 CustomAgent.prototype.createConnection = createConnection;
H A Dtest-http2-connect.js53 const createConnection = mustCall(() => socket);
54 const options = { createConnection };
87 const createConnection = mustCall(() => socket);
88 const options = { createConnection };
H A Dtest-net-pipe-connect-errors.js59 const notSocketClient = net.createConnection(emptyTxt, function() {
70 const noEntSocketClient = net.createConnection('no-ent-file', function() {
88 const accessClient = net.createConnection(common.PIPE, function() {
H A Dtest-net-autoselectfamily.js9 const { createConnection, createServer } = require('net');
87 const connection = createConnection({
133 const connection = createConnection({
195 const connection = createConnection({
230 const connection = createConnection({
269 const connection = createConnection({
H A Dtest-http-generic-streams.js20 createConnection: common.mustCall(() => clientSide)
45 createConnection: common.mustCall(() => clientSide),
86 createConnection: common.mustCall(() => clientSide),
126 createConnection: common.mustCall(() => clientSide),
H A Dtest-http-parser-multiple-execute.js10 function createConnection(...args) { function
25 const req = request('http://localhost:8080', { createConnection });
H A Dtest-http-upgrade-server.js83 const conn = net.createConnection(server.address().port);
121 const conn = net.createConnection(server.address().port);
145 const conn = net.createConnection(server.address().port);
H A Dtest-http-host-header-ipv6-fail.js25 return net.createConnection(options);
37 requests[i].createConnection =
H A Dtest-http-set-trailers.js31 const c = net.createConnection(port);
56 const c = net.createConnection(port);
H A Dtest-net-autoselectfamilydefault.js9 const { createConnection, createServer, setDefaultAutoSelectFamily } = require('net');
79 const connection = createConnection({
119 const connection = createConnection({
H A Dtest-http-agent.js75 http.Agent.prototype.createConnection = function createConnection(_, cb) {
H A Dtest-https-agent-abort-controller.js35 const connection = agent.createConnection({ ...options, signal });
46 const connection = agent.createConnection({ ...options, signal });
H A Dtest-https-insecure-parse-per-stream.js29 createConnection: common.mustCall(() => clientSide),
51 createConnection: common.mustCall(() => clientSide)
H A Dtest-https-max-header-size-per-stream.js30 createConnection: common.mustCall(() => clientSide),
51 createConnection: common.mustCall(() => clientSide)
H A Dtest-net-autoselectfamily-commandline-option.js11 const { createConnection, createServer, setDefaultAutoSelectFamilyAttemptTimeout } = require('net');
78 const connection = createConnection({
H A Dtest-net-autoselectfamily-ipv4first.js9 const { createConnection, createServer, setDefaultAutoSelectFamilyAttemptTimeout } = require('net');
83 const connection = createConnection({
H A Dtest-net-connect-options-allowhalfopen.js105 net.createConnection(opts, clientOnConnect(3));
106 net.createConnection(opts).on('connect', clientOnConnect(4));
H A Dtest-net-connect-options-fd.js23 net.createConnection(cloneOptions(2), getConnectCb(2)),
24 net.createConnection(cloneOptions(3))
H A Dtest-http-socket-encoding-error.js26 const client = new http.Agent().createConnection(this.address().port, () => {
H A Dtest-net-socket-write-error.js10 const client = net.createConnection(this.address().port, () => {
/third_party/node/benchmark/http/
H A Dcreate-clientrequest.js28 path: new URL(i).path, createConnection: noop,
41 result = new ClientRequest(options[i], { createConnection: noop });
49 result = new ClientRequest(data[i], { createConnection: noop });
/third_party/node/lib/
H A Dhttps.js126 function createConnection(port, host, options) { function
145 debug('createConnection', options);
209 Agent.prototype.createConnection = createConnection;
375 * createConnection?: Function;

Completed in 7 milliseconds

123