AutoPersistedQueryInterceptor

class AutoPersistedQueryInterceptor(httpMethodForHashedQueries: HttpMethod, httpMethodForDocumentQueries: HttpMethod) : ApolloInterceptor

Constructors

Link copied to clipboard
constructor(httpMethodForHashedQueries: HttpMethod, httpMethodForDocumentQueries: HttpMethod)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun <D : Operation.Data> intercept(request: ApolloRequest<D>, chain: ApolloInterceptorChain): Flow<ApolloResponse<D>>

Intercepts the given request. Call chain.proceed() to continue with the next interceptor or emit items directly to bypass the chain.