Skip to content

Incorrect disconnect code #146

@alexanderbrus

Description

@alexanderbrus

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions