Factory
constructor(connectionAcknowledgeTimeoutMs: Long, connectionPayload: suspend () -> Map<String, Any?>? = { null }, frameType: WsFrameType = WsFrameType.Text)
Parameters
connectionAcknowledgeTimeoutMs
the timeout for receiving the "connection_ack" message, in milliseconds
connectionPayload
a map of additional parameters to send in the "connection_init" message
frameType
the type of the websocket frames to use. Default value: WsFrameType.Text