SocketEvent

sealed class SocketEvent : Throwable

Types

Link copied to clipboard
data class CloseEvent(code: Int) : SocketEvent

Called when the Transport closes

Link copied to clipboard
data class FailureEvent(throwable: Throwable, response: Any?) : SocketEvent

Called when the Transport receives an error

Link copied to clipboard
data class MessageEvent(text: Message) : SocketEvent

Called each time the Transport receives a message

Link copied to clipboard
object OpenEvent : SocketEvent

Called when the Transport opens

Properties

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

Inheritors

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