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

Function createServer

lib/net.js:227–229  ·  view source on GitHub ↗

* Creates a new TCP or IPC server * @param {{ * allowHalfOpen?: boolean; * pauseOnConnect?: boolean; * }} [options] * @param {Function} [connectionListener] * @returns {Server}

(options, connectionListener)

Source from the content-addressed store, hash-verified

225 */
226
227function createServer(options, connectionListener) {
228 return new Server(options, connectionListener);
229}
230
231
232// Target API:

Callers 4

buildCurrentResourceFunction · 0.50
buildDestroyFunction · 0.50
buildAsyncLocalStorageFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…