WebSockets

class WebSockets

Client WebSocket feature.

Constructors

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

Client WebSocket feature.

Link copied to clipboard
fun WebSockets()

Client WebSocket feature.

Types

Link copied to clipboard
class Config

WebSockets configuration.

Link copied to clipboard
object Feature : HttpClientFeature<WebSockets.Config, WebSockets>

Add WebSockets support for ktor http client.

Properties

Link copied to clipboard
val maxFrameSize: Long
Link copied to clipboard
val pingInterval: Long