using the ktor client, is it possible to detect wh...
# kotlinx-rpc
s
using the ktor client, is it possible to detect when the underlying websocket session has closed? If I try to add
webSocketSession.outgoing.invokeOnClose {}
I get an IllegalStateException saying that there already is another handler registered.
my goal is to recreate the client once the session has timed out