Searched refs:onSocket (Results 1 – 10 of 10) sorted by relevance
34 const onSocket = mustCall((msg, socket) => { constant36 process.removeListener('message', onSocket);41 process.on('message', onSocket);
35 common.mustCall(onSocket)38 function onSocket(socket) { function
315 this.onSocket(socket);329 this.onSocket(net.createConnection(options));810 ClientRequest.prototype.onSocket = function onSocket(socket, err) { method in ClientRequest844 const onSocket = () => { function853 this.once('socket', onSocket);855 onSocket();
276 req.onSocket(socket, err);454 req.onSocket(socket, err);492 req.onSocket(socket);
33 self.requests[name].shift().onSocket(socket)75 req.onSocket(idleSocket)
84 self.requests[name].shift().onSocket(socket);180 req.onSocket(newSocket);233 req.onSocket(socket);
63 pending.request.onSocket(socket)102 pending.request.onSocket(socket)
141 req.onSocket(socket);
1641 * [#3236](https://github.com/joyent/node/issues/3236): http: Refactor ClientRequest.onSocket (isaac…