PushPullAdaptingWebSocket

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun close(status: WsStatus = NORMAL)
Link copied to clipboard
open override fun onClose(fn: (WsStatus) -> Unit)
Link copied to clipboard
open override fun onError(fn: (Throwable) -> Unit)
Link copied to clipboard
open override fun onMessage(fn: (WsMessage) -> Unit)
Link copied to clipboard
abstract fun send(message: WsMessage)
Link copied to clipboard
fun triggerClose(status: WsStatus = NORMAL)
Link copied to clipboard
fun triggerError(throwable: Throwable)
Link copied to clipboard