OkHttpWebSocketClient

class OkHttpWebSocketClient(client: OkHttpClient = OkHttpClient()) : WebSocketClient(source)

Constructors

Link copied to clipboard
constructor(client: OkHttpClient = OkHttpClient())

Properties

Link copied to clipboard
open override val supportsCustomHeaders: Boolean = true

Functions

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