mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
Merge pull request #2604 from akanehara/fix-ws-verificlient-info
update ws/ws.d.ts
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user