Expose connected property and discount function.

This commit is contained in:
Eric Lu
2015-01-26 19:32:44 -08:00
parent b3324f6916
commit 85c227ebf0
+2
View File
@@ -67,6 +67,8 @@ declare module SocketIO {
on(event: string, listener: Function): any;
broadcast: Socket;
volatile: Socket;
connected: boolean;
disconnect(close: boolean): Socket;
}
interface Client {