Skip to content

Ping is not following the lifecycle #229

Open
@yumiki

Description

Hi,

There is an issue related to the usage of pingInterval in OkHttpClient. When the WebSocket is closed and this parameter is set, a new socket is promptly opened to perform the next ping. IMHO the ping mechanism should adhere to the lifecycle specified in the Scarlet builder.

To replicate this issue, you can refer to the code provided in the following link and add a lifecycle to the scarlet builder:
#70 (comment)

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