WebSocketTransportCommon

abstract class WebSocketTransportCommon : Transport

Functions

Link copied to clipboard
abstract fun connect(): SocketFlow

Connect to the server

Link copied to clipboard
abstract fun disconnect(code: Int, reason: String? = null)

Disconnect from the Server

Link copied to clipboard
abstract fun send(data: String)

Sends text to the Server

Properties

Link copied to clipboard
open override var readyState: Transport.ReadyState

The state of the Transport. See {@link ReadyState}

Inheritors

Link copied to clipboard