ktor
1.6.8
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
ktor-http-cio
/
io.ktor.http.cio.websocket
/
closeExceptionally
close
Exceptionally
common
suspend
fun
WebSocketSession
.
closeExceptionally
(
cause
:
Throwable
)
Content copied to clipboard
Closes session with normal or error close reason, depending on whether
cause
is cancellation or not.