WebSocketReconnectionException

class WebSocketReconnectionException(    val url: String,     val nAttemptedReconnections: Int,     val cause: Throwable,     message: String = "Could not reconnect to web socket at $url after $nAttemptedReconnections attempts. Giving up. " + "The exception during the last attempt was $cause") : WebSocketConnectionException

Constructors

Link copied to clipboard
fun WebSocketReconnectionException(    url: String,     nAttemptedReconnections: Int,     cause: Throwable,     message: String = "Could not reconnect to web socket at $url after $nAttemptedReconnections attempts. Giving up. " + "The exception during the last attempt was $cause")

Properties

Link copied to clipboard
open override val cause: Throwable
Link copied to clipboard
val httpStatusCode: Int? = null

The status code in the HTTP response from the handshake request, if available.

Link copied to clipboard
open val message: String?
Link copied to clipboard
val nAttemptedReconnections: Int
Link copied to clipboard
val url: String

The target URL of the failed connection.

Sources

Link copied to clipboard