PhoenixMessage.heartbeat constructor
PhoenixMessage.heartbeat(
- String? pendingHeartbeatRef
Constructor for a hearbeat message.
Implementation
PhoenixMessage.heartbeat(String? pendingHeartbeatRef) {
ref = pendingHeartbeatRef;
payload = {};
event = "heartbeat";
topic = "phoenix";
}