webSocketFactory

open fun webSocketFactory(factory: WebSocket.Factory): ApolloClient.Builder

Set the custom call factory for creating WebSocket instances.

Note: Calling okHttpClient automatically sets this value.