WebSockets

class WebSockets

Client WebSocket plugin.

Constructors

Link copied to clipboard
fun WebSockets(pingInterval: Long = -1L, maxFrameSize: Long = Int.MAX_VALUE.toLong())

Client WebSocket plugin.

Link copied to clipboard
fun WebSockets()

Client WebSocket plugin.

Types

Link copied to clipboard
class Config

WebSockets configuration.

Link copied to clipboard
object Plugin : HttpClientPlugin<WebSockets.Config, WebSockets>

Add WebSockets support for ktor http client.

Properties

Link copied to clipboard
val contentConverter: WebsocketContentConverter? = null
Link copied to clipboard
val maxFrameSize: Long
Link copied to clipboard
val pingInterval: Long