ping_pong
ping_pong
Direction: both ways. Dial sends a ping_pong to your server roughly every 2 seconds; echo
the same frame straight back. If Dial doesn’t receive a pong within ~5 seconds it treats the
link as dead, closes it, and reconnects — at which point you get a fresh
call_connected and resume (see
Resumability).
This is an application-level keepalive on top of the WebSocket, mirroring the mechanism Dial uses with its own upstream — so dropped connections are detected promptly on both sides.
Schema
Example
Dial → your server:
Echo it straight back, your server → Dial: