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();. The Intrexx session is not kept alive by the WebSocket connection. Use normal HTTP requests or WebSocket pings to keep the session alive.

Example

const mySubscriber = await ix.api.websocket.subscribeToTopic("<TOPIC-IDENTIFIER>", {
onmessage: (data) => {
console.log(data);
}
});

Index

Functions