WebSocketException

An exception representing a failure in a web socket connection.

Note that web socket failures can also be represented by different exceptions depending on the cause of the failure (for example, failures due to lack of server trust).

If the exception is due to the server closing the web socket connection and the server provided a reason string then that reason string will be given as the message of the exception.

The exception contains a code given by the web socket implementation. The meaning of the codes are explained on the ArcGIS website.

Since

200.2.0

Parameters

reason

string describing why the web socket connection failed

Properties

Link copied to clipboard
val code: Int

the web socket status code associated with the connection failure

Inherited properties

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

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard