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.
1 parent 907691b commit 82aea33Copy full SHA for 82aea33
server.js
@@ -97,6 +97,7 @@ function Server (opts) {
97
self.http.on('listening', onListening)
98
}
99
self.ws = new WebSocketServer({ server: self.http })
100
+ self.ws.address = self.http.address.bind(self.http)
101
self.ws.on('error', function (err) { self._onError(err) })
102
self.ws.on('connection', function (socket) { self.onWebSocketConnection(socket) })
103
0 commit comments