Provides a handful of methods to receive messages for all or specific topics via the standard Intrexx WebSocket.
The functions in this module can be accessed using the syntax ix.api.websocket.functionName();
ix.api.websocket.functionName();
const mySubscriber = await ix.api.websocket.subscribeToTopic("<TOPIC-IDENTIFIER>", { onmessage: (data) => { console.log(data); }}); Copy
const mySubscriber = await ix.api.websocket.subscribeToTopic("<TOPIC-IDENTIFIER>", { onmessage: (data) => { console.log(data); }});
Provides a handful of methods to receive messages for all or specific topics via the standard Intrexx WebSocket.
Usage
The functions in this module can be accessed using the syntax
ix.api.websocket.functionName();
Example