v0.22.0: Automatic Reconnect
github-actions
released this
05 Jul 10:15
·
21 commits
to refs/heads/main
since this release
What’s Changed
This release adds a new AutomaticReconnect
option that will cause the client to try to reconnect to the broker when the connection is lost or dropped.
Reconnection is periodically retried with a backing off strategy. The initial attempt will be made after 5 seconds from disconnection and will retry at an increasing periodic delay up to 60 seconds until successfully reconnected.
var options = new HiveMQClientOptionsBuilder()
.WithAutomaticReconnect(true)
.Build();
// Create a new client with the configured options
var client = new HiveMQttClient(options);
- New Automatic Reconnect Option (#184) @pglombardo
👥 List of contributors
NuGet Package
v0.22.0 is available on NuGet:
https://www.nuget.org/packages/HiveMQtt/0.22.0