mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #2306 from akanehara/fix-ws-handleUpgrade-sig
fix handleUpgrade() signature
This commit is contained in:
commit
e713407390
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user