teams-monitor icon indicating copy to clipboard operation
teams-monitor copied to clipboard

Feature request: access to WebSocket state and (dis)connection events

Open matthijs110 opened this issue 9 months ago • 2 comments

I am using the TeamsMonitor.Core NuGet package to connect with Microsoft Teams. I want to implement a retry mechanism, just like Microsoft does with the Stream Deck plugin. This way, a new connection attempt is made when the connection is closed, with an incrementing timeout in between.

I'd love to have access to the WebSocket instance to know if the WebSocket connection is (still) open. Are you willing to expose the ClientWebSocket.State and perhaps implement addition event listeners like Connected and Disconnected as well? :)

Really love this package, as this takes away a lot of research and reverse engineering! I did both, but this package still makes it a lot easier!

matthijs110 avatar May 04 '24 15:05 matthijs110