mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
namespace: added connected hash
This commit is contained in:
@@ -45,14 +45,14 @@ var emit = Emitter.prototype.emit;
|
||||
*/
|
||||
|
||||
function Namespace(server, name){
|
||||
this.server = server;
|
||||
this.name = name;
|
||||
this.server = server;
|
||||
this.adapter = new (server.adapter())(this);
|
||||
this.sockets = [];
|
||||
this.connected = {};
|
||||
this.fns = [];
|
||||
this.ids = 0;
|
||||
this.acks = {};
|
||||
this.flags = [];
|
||||
this.rooms = [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user