Package-level declarations

Types

Link copied to clipboard
class JsWebSocketClient(val url: String, val protocols: List<String>?, val DEBUG: Boolean, val headers: Http.Headers) : WebSocketClient
Link copied to clipboard
class RawSocketWebSocketClient(val coroutineContext: CoroutineContext, val client: AsyncClient, val urlUrl: URL, val protocols: List<String>? = null, debug: Boolean = false, val origin: String? = null, val key: String = DEFAULT_WSKEY, val headers: Http.Headers = Http.Headers(), val masked: Boolean = true, val random: Random = Random) : WebSocketClient
Link copied to clipboard
abstract class WebSocketClient
Link copied to clipboard
Link copied to clipboard
data class WsCloseInfo(val code: Int, val reason: String)
Link copied to clipboard
open class WsFrame(val data: ByteArray, val type: WsOpcode, val isFinal: Boolean = true, val masked: Boolean = true)
Link copied to clipboard
inline class WsOpcode(val id: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun RawSocketWebSocketClient(url: String, protocols: List<String>? = null, origin: String? = null, wskey: String = DEFAULT_WSKEY, debug: Boolean = false, connect: Boolean = true, headers: Http.Headers = Http.Headers(), masked: Boolean = true, init: WebSocketClient.() -> Unit = {}): WebSocketClient
Link copied to clipboard
actual suspend fun WebSocketClient(url: String, protocols: List<String>?, origin: String?, wskey: String, debug: Boolean, headers: Http.Headers, dummy: Boolean, wsInit: WebSocketClient.() -> Unit): WebSocketClient
suspend fun WebSocketClient(url: String, protocols: List<String>? = null, origin: String? = null, wskey: String = DEFAULT_WSKEY, debug: Boolean = false, headers: Http.Headers = Http.Headers(), wsInit: WebSocketClient.() -> Unit = {}): WebSocketClient
expect suspend fun WebSocketClient(url: String, protocols: List<String>?, origin: String?, wskey: String, debug: Boolean, headers: Http.Headers, dummy: Boolean, wsInit: WebSocketClient.() -> Unit = {}): WebSocketClient
actual suspend fun WebSocketClient(url: String, protocols: List<String>?, origin: String?, wskey: String, debug: Boolean, headers: Http.Headers, dummy: Boolean, wsInit: WebSocketClient.() -> Unit): WebSocketClient
actual suspend fun WebSocketClient(url: String, protocols: List<String>?, origin: String?, wskey: String, debug: Boolean, headers: Http.Headers, dummy: Boolean, wsInit: WebSocketClient.() -> Unit): WebSocketClient
actual suspend fun WebSocketClient(url: String, protocols: List<String>?, origin: String?, wskey: String, debug: Boolean, headers: Http.Headers, dummy: Boolean, wsInit: WebSocketClient.() -> Unit): WebSocketClient