*Ktor websocket client: *
I have written a little homeautomation lib, which uses the ktor websocket client to listen to state changes and execute callbacks then. I want to have the application not exiting after an Exception is thrown (e.g. CLoseChannelException). Instead I want to reconnect every x minutes till a new connection is established. Does anybody have done similar things with ktor and/or could provide me with some links or videos? Appreciate your help.