okHttpClient

fun <Error class: unknown class>.okHttpClient(okHttpClient: <Error class: unknown class>): <Error class: unknown class>

Configures the ApolloClient to use the OkHttpClient for network requests. The OkHttpClient will be used for both HTTP and WebSocket requests.

See also ApolloClient.Builder.httpEngine and ApolloClient.Builder.webSocketEngine


fun <Error class: unknown class>.okHttpClient(okHttpClient: <Error class: unknown class>): <Error class: unknown class>

Configures the HttpNetworkTransport to use the DefaultHttpEngine for network requests.


fun <Error class: unknown class>.okHttpClient(okHttpClient: <Error class: unknown class>): <Error class: unknown class>

Configures the WebSocketNetworkTransport to use the okHttpCallFactory for network requests.