Skip to content

Better public .connected property #41

@rauchg

Description

@rauchg

Right now .connected doesn't indicate if the connection is considered disconnected, but rather if there's an open request for a client. If the client is in a a long-polling disconnection, .connected will be false even though the "socket" is still considered connected.

finalized should be removed, connected should be named open or similar (or maybe use a readyState property with number codes), and an actual connected with the expected behavior should be introduced.

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