-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
Incorrect disconnect code #146
Comments
@alexanderbrus Which version of socketcluster-client is affected? How to reproduce this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Library
ws
which used under the hood for node.js clients, does not allow disconnect codes 1004, 1005 and 1006.But anyway
socketcluster-client
uses1005
and1006
which leads to Uncaught exception: "TypeError: First argument must be a valid error code number" (see, WS Code validation)The text was updated successfully, but these errors were encountered: