Private Optional _pingPrivate Optional _systemPrivate Optional _urlReadonly alive$Private aliveReadonly close$Emits close events with code and reason data.
https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close_event
Readonly message$Decoded message instances coming from Motion Master.
Readonly opened$Emits a boolean value when socket gets opened or closed.
Private pingPrivate Optional pingPrivate Optional webSend ping system messages to Motion Master with a fixed time delay between each call.
How long in milliseconds to consider Motion Master alive.
URL set in call to open.
Private createPrivate keepaliveSend an instance of a message.
Subscribe to the message$ observable in order to receive the response messages.
Generated using TypeDoc
Motion Master is considered alive when it sends messages in regular time interval.