Heartbeat is already built into phoenix channels and pjoenix.js and they do it automatically. Most of us have never sent one manual. You can read their implementation code to see what when and how they do it.
Heartbeat is already built into phoenix channels and pjoenix.js and they do it automatically. Most of us have never sent one manual. You can read their implementation code to see what when and how they do it.