socket.io: Added missing API

This commit is contained in:
Shunsuke Shida
2014-01-30 04:13:47 +09:00
parent 67777bbba2
commit 4b45695df5
+1 -1
View File
@@ -23,7 +23,7 @@ interface Socket {
in(room: string): Socket;
to(room: string): Socket;
join(name: string, fn: Function): Socket;
unjoin(name: string, fn: Function): Socket;
leave(name: string, fn: Function): Socket;
set(key: string, value: any, fn: Function): Socket;
get(key: string, fn: Function): Socket;
has(key: string, fn: Function): Socket;