MCPcopy Index your code
hub / github.com/nodejs/node / createLocalConnection

Function createLocalConnection

test/parallel/test-http-host-header-ipv6-fail.js:21–26  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

19];
20
21function createLocalConnection(options) {
22 options.host = undefined;
23 options.port = this.port;
24 options.path = undefined;
25 return net.createConnection(options);
26}
27
28http.createServer(common.mustCall(function(req, res) {
29 this.requests ||= 0;

Callers

nothing calls this directly

Calls 1

createConnectionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…