Package io.ktor.client.plugins.websocket.cio
Functions
Link copied to clipboard
suspend fun HttpClient.webSocketRaw(method: HttpMethod = HttpMethod.Get, host: String? = null, port: Int? = null, path: String? = null, request: HttpRequestBuilder.() -> Unit = {}, block: suspend ClientWebSocketSession.() -> Unit)
Content copied to clipboard
Creates a raw ClientWebSocketSession: no ping-pong and other service messages are used.
Link copied to clipboard
suspend fun HttpClient.webSocketRawSession(method: HttpMethod = HttpMethod.Get, host: String? = null, port: Int? = null, path: String? = null, block: HttpRequestBuilder.() -> Unit = {}): ClientWebSocketSession
Content copied to clipboard
Creates a raw ClientWebSocketSession: no ping-pong and other service messages are used.
Link copied to clipboard
suspend fun HttpClient.wsRaw(method: HttpMethod = HttpMethod.Get, host: String? = null, port: Int? = null, path: String? = null, request: HttpRequestBuilder.() -> Unit = {}, block: suspend ClientWebSocketSession.() -> Unit)
Content copied to clipboard
Creates a raw ClientWebSocketSession: no ping-pong and other service messages are used.
Link copied to clipboard
suspend fun HttpClient.wssRaw(method: HttpMethod = HttpMethod.Get, host: String? = null, port: Int? = null, path: String? = null, request: HttpRequestBuilder.() -> Unit = {}, block: suspend ClientWebSocketSession.() -> Unit)
Content copied to clipboard
Create secure raw ClientWebSocketSession: no ping-pong and other service messages are used.