Skip to content

[Question] How does ping/pong work? #316

@Zammy

Description

@Zammy

Hello,

I am trying to build a simple RPC client on top of ws. I was implementing some kind of keep-alive but I do not understand how the ping/pong methods on websocket work. When I do ping I do not receive anything in the browser.

Also, is ws supposed to be used in the browser somehow?

Evgeni

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