webSocketFactory

var webSocketFactory: WebSocket.Factory? = null

If provided, this WebSocket.Factory will be used to create WebSocket instances. Otherwise, OkHttpClient is used directly.