webSocketFactory

var webSocketFactory: WebSocket.Factory?

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