Skip to content

Support Ping/Pong #2

Description

@hongkongkiwi

Please support Ping/Pong at the low level.

This will really help for the server to know if clients are still connected to the server.

It's very easy to implement, just need to allow the opCode and automatically respond to it.
Any payload passed is automatically sent back to the client as is.

Ping RFC
http://tools.ietf.org/html/rfc6455#section-5.5.2
Pong RFC
http://tools.ietf.org/html/rfc6455#section-5.5.3

As the code is really undocumented and uses lots of bit shifting it's a little bit complicated for me to modify myself. Hoping the author can help out with this?

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