-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement heartbeat mechanism with JSON RPC protocol #5935
Comments
I guess that could be a simple JSON-RPC service receiving a ping request and responding a ping response. |
yes, receiving "ping" and responding "pong" on it - and that's all. Clients will know what to do with that on their own. |
Websocket protocol implements this already, doesn't it? Why do we need to do it on application level? |
According to websocket specification section that describes ping/pong sequences that should be technically possible, however my suggestion is based on similar thoughts:
Origin: https://stackoverflow.com/questions/10585355/sending-websocket-ping-pong-frame-from-browser And that seems to me much easier to implement and to support. |
I see your point |
Need to implement ping-pong mechanism for detecting websocket connections or ability to use heartbeats for keeping connections alive. We already have it in everrest websocket implementation.
The text was updated successfully, but these errors were encountered: