Count of active subscribed items

As a ERT in Cloud client using Websocket, Is there a way to get the count of total subscribed items?


e.g. If my application has subscribed 10 RICs, is there a function call that I can get "10" as a result of my subscription?

Best Answer

Answers

  • Thanks for the prompt reply!

  • Hello @otto.to.1

    Each stream the application open with the WebSocket API (connection, items subscriptions) has a unique "ID" attribute as a reference. It can also be used to match the request and responses.

    You can check a number of subscription items from a number of "ID" reference (not a value of ID)