Glossary: Real-Time Apps with WebSockets
Heartbeat
Also written: ping, pong, ping and pong
Regular small ping messages from the server that a live client answers with a pong. A socket that misses its pong is treated as dead and closed, and the pings also keep proxies from closing idle connections.