Builder
Properties
Functions
Link copied to clipboard
open fun <T> addCustomScalarAdapter(@NotNull customScalarType: CustomScalarType, @NotNull customScalarAdapter: Adapter<T>): ApolloClient.Builder
Registers the given customScalarAdapter.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun autoPersistedQueries(httpMethodForHashedQueries: HttpMethod, httpMethodForDocumentQueries: HttpMethod): ApolloClient.Builder
open fun autoPersistedQueries(httpMethodForHashedQueries: HttpMethod, httpMethodForDocumentQueries: HttpMethod, enableByDefault: Boolean): ApolloClient.Builder
Link copied to clipboard
Link copied to clipboard
Set the custom call factory for creating Call instances.
Link copied to clipboard
Link copied to clipboard
open fun customScalarAdapters(@NotNull customScalarAdapters: CustomScalarAdapters): ApolloClient.Builder
Link copied to clipboard
The Executor to use for dispatching the requests.
Link copied to clipboard
open fun enableAutoPersistedQueries(@Nullable enableAutoPersistedQueries: Boolean): ApolloClient.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun httpBatching(batchIntervalMillis: Long, maxBatchSize: Int, enableByDefault: Boolean): ApolloClient.Builder
Batch HTTP queries to execute multiple at once.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The url of the GraphQL server used for HTTP.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set the OkHttpClient to use for making network requests.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The url of the GraphQL server used for HTTP.
Link copied to clipboard
open fun subscriptionNetworkTransport(subscriptionNetworkTransport: NetworkTransport): ApolloClient.Builder
Link copied to clipboard
Set the custom call factory for creating WebSocket instances.
Link copied to clipboard
The url of the GraphQL server used for WebSockets.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard