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
You have a .close(code, data) method here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L100
.close(code, data)
But you don't expose the callback here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L121
The text was updated successfully, but these errors were encountered:
I patched it such that if the callback is supplied it uses the callback for error instead of emitting.
#614
Sorry, something went wrong.
Your pull request is failing the code checks. You'll want to update it to keep from failing. It will hopefully get merged after that?
It`s my problem
No branches or pull requests
You have a
.close(code, data)
method here:https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L100
But you don't expose the callback here:
https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L121
The text was updated successfully, but these errors were encountered: