WebSocketClosedUnexpectedly

class WebSocketClosedUnexpectedly(val code: Int, val reason: String?) : Exception

An exception thrown when the underlying websocket connection was closed at an inappropriate time.

Constructors

Link copied to clipboard
constructor(code: Int, reason: String?)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
val code: Int
Link copied to clipboard
expect open val message: String?
Link copied to clipboard