Join Slack
Communities
Powered by
using the ktor client, is it possible to detect wh...
# kotlinx-rpc
s
S.
11/25/2024, 11:52 AM
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.
S.
11/25/2024, 11:54 AM
my goal is to recreate the client once the session has timed out
2
Views
Open in Slack
Previous
Next