public interface ResponseFetcher
ApolloInterceptor
inserted at the beginning of a request chain.
It can control how a request is fetched by configuring com.apollographql.apollo.interceptor.FetchOptions
.
See ApolloResponseFetchers
for a basic set of fetchers.Modifier and Type | Method and Description |
---|---|
ApolloInterceptor |
provideInterceptor(com.apollographql.apollo.internal.ApolloLogger logger) |
ApolloInterceptor provideInterceptor(com.apollographql.apollo.internal.ApolloLogger logger)
logger
- A ApolloLogger
to log relevant fetch information.ApolloInterceptor
that executes the fetch logic.