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

Function onconnection

test/async-hooks/test-writewrap.js:49–56  ·  view source on GitHub ↗
(conn)

Source from the content-addressed store, hash-verified

47}
48
49function onconnection(conn) {
50 conn.write('hi'); // Let the client know we're ready.
51 conn.resume();
52 //
53 // Server received client connection
54 //
55 checkDestroyedWriteWraps(0, 'server got connection');
56}
57
58function onconnect() {
59 //

Callers

nothing calls this directly

Calls 3

checkDestroyedWriteWrapsFunction · 0.85
resumeMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected