webSocketFactory

var webSocketFactory: WebSocket.Factory? = null

Specifies the WebSocket.Factory used to create a WebSocket instance. Otherwise, OkHttpClient is used directly.