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
wswhich used under the hood for node.js clients, does not allow disconnect codes 1004, 1005 and 1006.But anyway
socketcluster-clientuses1005and1006which leads to Uncaught exception: "TypeError: First argument must be a valid error code number" (see, WS Code validation)