webSocketFactory

var webSocketFactory: Factory?

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