WebSockets

fun WebSockets(pingInterval: Duration?, maxFrameSize: Long = Int.MAX_VALUE.toLong()): WebSockets

Client WebSocket plugin.

Parameters

pingInterval
maxFrameSize
  • max size of a single websocket frame.


Installs the WebSockets plugin using the config as configuration.