mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Add SocketIO.Socket.handshake
This commit is contained in:
1 parent
fcc48530e3
commit
c3a1f48983
1 file changed
+11
Vendored
+11
@@ -59,6 +59,17 @@ declare module SocketIO {
|
||||
conn: any;
|
||||
request: any;
|
||||
id: string;
|
||||
handshake: {
|
||||
headers: any;
|
||||
time: string;
|
||||
address: any;
|
||||
xdomain: boolean;
|
||||
secure: boolean;
|
||||
issued: number;
|
||||
url: string;
|
||||
query: any;
|
||||
};
|
||||
|
||||
emit(name: string, ...args: any[]): Socket;
|
||||
join(name: string, fn?: Function): Socket;
|
||||
leave(name: string, fn?: Function): Socket;
|
||||
|
||||
Reference in new issue
Block a user