Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard

Configures the ApolloClient to use the callFactory for network requests.

Configures the HttpNetworkTransport to use the okHttpCallFactory for network requests.

Link copied to clipboard
fun ApolloClient.Builder.okHttpClient(okHttpClient: OkHttpClient): ApolloClient.Builder

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

Configures the HttpNetworkTransport to use the DefaultHttpEngine for network requests.

Configures the WebSocketNetworkTransport to use the okHttpCallFactory for network requests.

Link copied to clipboard
fun ByteArray.toNSData(): NSData