Skip to content

add examples how to disconnect on error #107

@jangorecki

Description

@jangorecki

If I would know how to close websocket connection when I encounter an error in my onMessage event handler. Possibly I could try get ws from parent.frame, but it feels very hacky, so prefer to use recommended way, what that would be then?

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