We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ws library is quite out of date, at the time of opening this issue, the latest version is 3.1.0.
Found some breaking changes:
ws.upgradeReq is gone,
wss.on('connection', function(ws) { console.log('connecting to /' + ws.upgradeReq.url); // will fail ... });
instead:
wss.on('connection', function(ws, req) { wsUrl = req.url; console.log('connecting to ' + wsUrl); ... });
Secondly, the way this implements paths for websocket servers is not supported anymore: websockets/ws#885 Changing this is a bit more tricky.
The text was updated successfully, but these errors were encountered:
First tries at upgrading ws (#12), not successful yet
039da3c
No branches or pull requests
The ws library is quite out of date, at the time of opening this issue, the latest version is 3.1.0.
Found some breaking changes:
ws.upgradeReq is gone,
instead:
Secondly, the way this implements paths for websocket servers is not supported anymore:
websockets/ws#885
Changing this is a bit more tricky.
The text was updated successfully, but these errors were encountered: