Package-level declarations

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)

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

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)

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)

Create secure raw ClientWebSocketSession: no ping-pong and other service messages are used.