Incorrect disconnect code
alexanderbrus opened this issue · 1 comments
alexanderbrus commented
Library ws
which used under the hood for node.js clients, does not allow disconnect codes 1004, 1005 and 1006.
But anyway socketcluster-client
uses 1005
and 1006
which leads to Uncaught exception: "TypeError: First argument must be a valid error code number" (see, WS Code validation)
jondubois commented
@alexanderbrus Which version of socketcluster-client is affected? How to reproduce this issue?