Skip to content
  • There are no suggestions because the search field is empty.

Will we receive a “Closed” event after ConnectionException and Disconnected events in the .NET SDK?

  • OnClosed event is usually triggered when the feed is closed on your side.
  • OnDisconnected is triggered when the disconnection has been done externally.
  • OnConnectionException would get triggered when the SDK would try to (re)connect to the feed and fail.

The most indicative event handlers are OnProducerUp and OnProducerDown – the first indicates a successful (re)connection (if it was needed) and recovery of the feed (= resume betting offer), while the second indicates feed loss (= suspend all betting).