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)
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)