Skip to content

Standardize websocket messages #90

Description

@ktecho

I get different structures for the messages received in the websocket:

{data: Array, type: "Ping"}
{data: {code: 1000, reason: "Disconnected by client"}, type: "Close"}
"WebSocket protocol error: Connection reset without closing handshake"

The first 2 ones are consistent in that they have a type and a data fields, but the last one is a string. Would it be possible to also return type: "websocket-closed".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions