Handles the operations of a heartbeat service.
Extends: RestOperations
Description
The HeartBeatOperations class is used to handle the operations of a heartbeat service.
Instance methods
heartbeat
Creates a heartbeat. Send request with the current time in UTC.
public
heartbeat(req, res): void
- req: any - an HTTP request
- res: any - an HTTP response
getHeartbeatOperation
Gets the heartbeat operation
public
getHeartbeatOperation(): function
- returns: function - heartbeat operation