Class MotionMasterPubSubWebSocket

Hierarchy

  • MotionMasterPubSubWebSocket

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

_url?: string
close$: Subject<{
    code: number;
    reason: string;
}> = ...

Emits close events with code and reason data.

Link

https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close_event

data$: Subject<[string, IMotionMasterMessage]> = ...

Incoming data is a tuple of topic and decoded message.

opened$: BehaviorSubject<boolean> = ...

Emits a boolean value when socket gets opened or closed.

webSocket$?: WebSocketSubject<[string, IMotionMasterMessage]>

Accessors

Methods

Generated using TypeDoc