mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
node: rename http.NodeAgent to http.Agent and net.NodeSocket to net.Socket
This commit is contained in:
Vendored
+1
-1
@@ -109,7 +109,7 @@ declare module "ws" {
|
||||
constructor(options?: IServerOptions, callback?: Function);
|
||||
|
||||
close(): void;
|
||||
handleUpgrade(request: http.ClientRequest, socket: net.NodeSocket,
|
||||
handleUpgrade(request: http.ClientRequest, socket: net.Socket,
|
||||
upgradeHead: NodeBuffer, callback: (client: WebSocket) => void): void;
|
||||
|
||||
// Events
|
||||
|
||||
Reference in New Issue
Block a user