signalr_core
signalr_core copied to clipboard
reConnection again and again
I used your package in my app.
It is constantly trying to reconnect
I do not want it
I want to try to reconnect when the internet connection is disconnected or Hub Connection stopped..
How do I fix it?

How do you reconnect?
How to reconnect properly?
How to reconnect properly?
You call withAutomaticReconnect, passing a list of int (time in millesec) or a implementation of RetryPolicy
final list = [500,1000,2000,3000]
HubConnectionBuilder() .withUrl().withAutomaticReconnect(list)