Merge pull request #2604 from akanehara/fix-ws-verificlient-info

update ws/ws.d.ts
This commit is contained in:
Masahiro Wakame
2014-08-02 10:58:51 +09:00
Vendored
+2 -2
View File
@@ -91,8 +91,8 @@ declare module "ws" {
port?: number;
server?: http.Server;
verifyClient?: {
(info: {origin: string; secure: boolean; req: http.ClientRequest}): boolean;
(info: {origin: string; secure: boolean; req: http.ClientRequest},
(info: {origin: string; secure: boolean; req: http.ServerRequest}): boolean;
(info: {origin: string; secure: boolean; req: http.ServerRequest},
callback: (res: boolean) => void): void;
};
handleProtocols?: any;