WebSocketOptions
class WebSocketOptions
Websockets configuration options
Constructors
WebSocketOptions() Websockets configuration options |
Properties
var masking: Boolean Whether masking need to be enabled (useful for security) |
|
var maxFrameSize: Long Maximum frame that could be received or sent |
|
var Duration between pings or |
|
var pingPeriodMillis: Long Duration between pings or |
|
var write/ping timeout after that a connection will be closed |
|
var timeoutMillis: Long write/ping timeout after that a connection will be closed |
Functions
fun extensions( Configure WebSocket extensions. |
Extension Properties
var WebSocketOptions.pingPeriod: Duration? |
|
var WebSocketOptions.timeout: Duration |