Package io.ktor.client.features.websocket
Types
interface ClientWebSocketSession : WebSocketSession Client specific WebSocketSession. |
|
class DefaultClientWebSocketSession : ClientSpecific DefaultWebSocketSession. |
|
object WebSocketCapability : HttpClientEngineCapability<Unit> Indicates if a client engine supports WebSockets. |
|
object WebSocketExtensionsCapability : Indicates if a client engine supports extensions for WebSocket feature. |
|
class WebSockets Client WebSocket feature. |
Exceptions
class WebSocketException : IllegalStateException |
Functions
fun HttpClientConfig<*>.WebSockets( Install WebSockets feature using the config as configuration. |
|
suspend fun HttpClient.webSocket( suspend fun HttpClient.webSocket( suspend fun HttpClient.webSocket( Open block with DefaultClientWebSocketSession. |
|
suspend fun HttpClient.webSocketRaw( Create raw ClientWebSocketSession: no ping-pong and other service messages are used. |
|
suspend fun HttpClient.webSocketRawSession( Create raw ClientWebSocketSession: no ping-pong and other service messages are used. |
|
suspend fun HttpClient.webSocketSession( suspend fun HttpClient.webSocketSession( |
|
suspend fun HttpClient. Open DefaultClientWebSocketSession. suspend fun HttpClient.ws( suspend fun HttpClient.ws( Open block with DefaultClientWebSocketSession. |
|
suspend fun HttpClient.wsRaw( Create raw ClientWebSocketSession: no ping-pong and other service messages are used. |
|
suspend fun HttpClient.wss( suspend fun HttpClient.wss( suspend fun HttpClient.wss( Open block with secure DefaultClientWebSocketSession. |
|
suspend fun HttpClient.wssRaw( Create secure raw ClientWebSocketSession: no ping-pong and other service messages are used. |