Package-level declarations

Types

Link copied to clipboard

An ApolloCall is a thin class that binds an ApolloRequest with its ApolloClient. It offers a fluent way to configure the ApolloRequest.

Link copied to clipboard
class ApolloClient : ExecutionOptions, Closeable

The main entry point for the Apollo runtime. An ApolloClient is responsible for executing queries, mutations and subscriptions

Link copied to clipboard

Information about auto persisted queries

Link copied to clipboard
class CacheDumpProviderContext(val cacheDumpProvider: () -> Map<String, Map<String, Pair<Int, Map<String, Any?>>>>) : ExecutionContext.Element

Cache dump provider, which can be set by cache implementations.

Link copied to clipboard
class ConcurrencyInfo(val dispatcher: CoroutineDispatcher, val coroutineScope: CoroutineScope) : ExecutionContext.Element

Gives access to ApolloClient dispatcher and scope. This is used by the normalized cache to execute cache writes in the background.

Functions

Link copied to clipboard

When conflateResponses is true, the fetch policy interceptors emit a single response and ignores the first cache or network error if a successful response is ultimately fetched. If no successful response can be emitted, a com.apollographql.apollo.exception.ApolloCompositeException error response is emitted.