Hi all, when using websocket client on ktor , how ...
# ktor
b
Hi all, when using websocket client on ktor , how to listen when the connection is closed?
a
Copy code
if (incoming.isClosedForReceive) {
    println("closed")
}
👍 1