Package-level declarations

Types

Link copied to clipboard

An ApolloInterceptor intercepts requests at the GraphQL layer.

Link copied to clipboard

An ApolloInterceptorChain is a list of interceptors called in order. Each interceptor wraps the subsequent ones and can delegate to them by calling proceed or emit items directly.

Link copied to clipboard
class AutoPersistedQueryInterceptor(httpMethodForHashedQueries: HttpMethod, httpMethodForDocumentQueries: HttpMethod) : ApolloInterceptor
Link copied to clipboard
class RetryContext(val networkMonitor: NetworkMonitor?, val request: ApolloRequest<*>)

The retry context of this request.

Link copied to clipboard
fun interface RetryStrategy

Properties

Functions

Link copied to clipboard
fun RetryOnErrorInterceptor(networkMonitor: NetworkMonitor? = null, retryStrategy: RetryStrategy = defaultRetryStrategy): ApolloInterceptor

Returns a default ApolloInterceptor that monitors exceptions and possibly retries the Flow according to retryStrategy.