Web Socket Connection Exception
open class WebSocketConnectionException(val url: String, val httpStatusCode: Int? = null, message: String = "Couldn't connect to web socket at $url" + statusInfo(httpStatusCode), cause: Throwable? = null) : WebSocketException(source)
An exception thrown when something went wrong during the web socket connection.
Constructors
Link copied to clipboard
fun WebSocketConnectionException(url: String, httpStatusCode: Int? = null, message: String = "Couldn't connect to web socket at $url" + statusInfo(httpStatusCode), cause: Throwable? = null)