WebsocketClient
Low level communication with a store
Constructor Summary
Public Constructor | ||
public |
constructor(url: String) Create a new WebsocketClient instance |
Member Summary
Public Members | ||
public |
Object holding eventlisteners |
|
public |
Server stream |
Method Summary
Public Methods | ||
public |
Unsubscribe from a topic |
|
public |
Subscribe to a topic |
|
public |
sendCommand(action: String, data: Object): Promise Send a command to the store |
|
public |
sendCommandAndForget(action: String, data: Object) Send command and forget about it |