KtorWebSocketClient

class KtorWebSocketClient(httpClient: HttpClient = HttpClient { install(WebSockets) }) : WebSocketClient(source)

Constructors

Link copied to clipboard
constructor(httpClient: HttpClient = HttpClient { install(WebSockets) })

Properties

Link copied to clipboard
open override val supportsCustomHeaders: Boolean

Functions

Link copied to clipboard
open suspend override fun connect(url: String, protocols: List<String>, headers: Map<String, String>): WebSocketConnectionWithPingPong