wsify icon indicating copy to clipboard operation
wsify copied to clipboard

feature request: ping / pong

Open eislambey opened this issue 5 years ago • 0 comments

for detecting broken connections we can use ping / pong mechanism.

If the WebSocket connection supports ping & pong (i.e. advertises itself as draft 01 or above), Channels will send ping messages to the client in order to verify that it is active. In protocol versions 5 and above, when using an old version of the WebSocket protocol, Channels will send pusher:ping event (see events to the client). The client should respond with a pusher:pong event.

source

eislambey avatar Apr 26 '19 19:04 eislambey