We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
socket
1 parent d307684 commit ddba690Copy full SHA for ddba690
doc/ws.md
@@ -249,8 +249,7 @@ receives an `Error` if the server is already closed.
249
### server.handleUpgrade(request, socket, head, callback)
250
251
- `request` {http.IncomingMessage} The client HTTP GET request.
252
-- `socket` {net.Socket|tls.Socket} The network socket between the server and
253
- client.
+- `socket` {stream.Duplex} The network socket between the server and client.
254
- `head` {Buffer} The first packet of the upgraded stream.
255
- `callback` {Function}.
256
0 commit comments