ConnectError

data class ConnectError(val namespace: String, val errorData: JsonElement?) : SocketIOPacket(source)

Used during the connection to a namespace.

Constructors

Link copied to clipboard
constructor(namespace: String, errorData: JsonElement?)

Properties

Link copied to clipboard
val errorData: JsonElement?

A description of the error. It was a JSON string literal before v5, and is a JSON object since v5.

Link copied to clipboard
open override val namespace: String

The namespace this packet belongs to, useful when multiplexing. The default namespace is "/".