fix handleUpgrade signature

This commit is contained in:
Atsushi Kanehara
2014-06-09 15:12:47 +09:00
parent d2989ce35f
commit 305768698d
Vendored
+1 -1
View File
@@ -110,7 +110,7 @@ declare module "ws" {
constructor(options?: IServerOptions, callback?: Function);
close(): void;
handleUpgrade(request: http.ClientRequest, socket: net.Socket,
handleUpgrade(request: http.ServerRequest, socket: net.Socket,
upgradeHead: Buffer, callback: (client: WebSocket) => void): void;
// Events