socket.io: SocketIO.Namespace has an "in" method

This commit is contained in:
Elisée
2015-04-29 23:00:06 +02:00
parent a61199a468
commit fcc48530e3
+1
View File
@@ -46,6 +46,7 @@ declare module SocketIO {
name: string;
connected: { [id: string]: Socket };
use(fn: Function): Namespace;
in(room: string): Namespace;
on(event: 'connection', listener: (socket: Socket) => void): Namespace;
on(event: 'connect', listener: (socket: Socket) => void): Namespace;