Skip to main content
If the server doesn’t see any heartbeat-related activity for roughly 60 seconds, it will close the connection and push:
Websocket disconnect error example
Send one every 30 seconds. Request fields
Send heartbeat
The server does not send an ack for this.

Other Ways to Keep the Connection Alive

Even a long-lived connection with no business traffic still needs to proactively send code: 20010.