mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
namespace: instrument add
This commit is contained in:
@@ -130,6 +130,7 @@ Namespace.prototype.in = function(fn){
|
||||
*/
|
||||
|
||||
Namespace.prototype.add = function(client, fn){
|
||||
debug('adding socket to nsp %s', this.name);
|
||||
var socket = new Socket(this, client);
|
||||
var self = this;
|
||||
this.run(socket, function(err){
|
||||
|
||||
Reference in New Issue
Block a user