The purpose of the Heartbeat API is to simulate bidirectional connection between the browser and the server. Initially it was used for autosave, post locking and log-in expiration warning while a user is writing or editing. The idea was to have an API that sends XHR (XML HTTP Request) requests to the server every fifteen seconds and triggers events (or callbacks) on receiving data.
Option | Value | |
---|---|---|
Heartbeat status | %%SUCURI.HeartbeatStatus%% | |
Pulse interval | %%SUCURI.HeartbeatPulse%% | |
Interval speed | %%SUCURI.HeartbeatInterval%% | |
Auto-start | %%SUCURI.HeartbeatAutostart%% |