brabo-hi
02/20/2022, 4:03 AMclient.close()
client.wss() {
incoming.consumeAsFlow().onCompletion{
// never stops receiving even after closing connection with `client.close()`
}
}
Aleksei Tirman [JB]
02/20/2022, 9:45 AMbrabo-hi
02/20/2022, 4:35 PMAleksei Tirman [JB]
02/20/2022, 5:18 PMclient.wss() {
variable this
references the current WebSocket session. You can call the close
method to close a session.