Skip to content

Need onClose event if internet connection turned off or interrupted #180

@timmolter

Description

@timmolter

Hi, I'm writing in regards to an inquiry on XChange here: knowm/XChange#109

Does Java-websockets have any internal mechanism to detect when the Interent connection goes down? Perhaps with a timeout parameter?

At XChange, we already have a way to reconnect, but it relies on receiving an onClose message from Java-Websockets.

Any idea how we can deal with this? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions