WebSocketOptions

class WebSocketOptions

Websockets configuration options

Constructors

<init>

WebSocketOptions()

Websockets configuration options

Properties

masking

var masking: Boolean

Whether masking need to be enabled (useful for security)

maxFrameSize

var maxFrameSize: Long

Maximum frame that could be received or sent

pingPeriod

var pingPeriod: Duration?

Duration between pings or null to disable pings

timeout

var timeout: Duration

write/ping timeout after that a connection will be closed