Package com.apollographql.apollo3.network
Types
Functions
Link copied to clipboard
fun ApolloClient.Builder.okHttpCallFactory(callFactory: Call.Factory): ApolloClient.Builder
Content copied to clipboard
Configures the ApolloClient to use the callFactory for network requests.
fun HttpNetworkTransport.Builder.okHttpCallFactory(okHttpCallFactory: Call.Factory): HttpNetworkTransport.Builder
Content copied to clipboard
Configures the HttpNetworkTransport to use the okHttpCallFactory for network requests.
Link copied to clipboard
fun ApolloClient.Builder.okHttpClient(okHttpClient: OkHttpClient): ApolloClient.Builder
Content copied to clipboard
Configures the ApolloClient to use the OkHttpClient for network requests. The OkHttpClient will be used for both HTTP and WebSocket requests.
fun HttpNetworkTransport.Builder.okHttpClient(okHttpClient: OkHttpClient): HttpNetworkTransport.Builder
Content copied to clipboard
Configures the HttpNetworkTransport to use the DefaultHttpEngine for network requests.
fun WebSocketNetworkTransport.Builder.okHttpClient(okHttpClient: OkHttpClient): WebSocketNetworkTransport.Builder
Content copied to clipboard
Configures the WebSocketNetworkTransport to use the okHttpCallFactory for network requests.