Heartbeat

class Heartbeat

Represents a heartbeat configuration for a ServerSSESession.

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

the ServerSentEvent to be sent as the heartbeat, default is a ServerSentEvent with the comment "heartbeat".

Link copied to clipboard

the duration between heartbeat events, default is 30 seconds.