Closed yarikbratashchuk closed 6 years ago
You can subscribe for connection state changes here and write your own handling.
Will that work for you?
Thanks for reply.
So if i know that connection is dropped, what should i do? Run client.Start()
to reconnect?
Or i should do something with ClientConfig.Backoff
?
@yarikbratashchuk Sorry, I misread your question. Client automatically reconnects if the underlying connection is gone. I thought you wanted some extra handling.
Thanks for reply)
You're welcome!
Hi)
I wonder how to reconnect client if errors like:
appears?
Thanks for help)