Interface ApolloCall.Builder<T>

    • Method Detail

      • cacheHeaders

        @NotNull
        ApolloCall.Builder<T> cacheHeaders​(@NotNull
                                           com.apollographql.apollo.cache.CacheHeaders cacheHeaders)
        Sets the CacheHeaders to use for this call. com.apollographql.apollo.interceptor.FetchOptions will be configured with this headers, and will be accessible from the ResponseFetcher used for this call.
        Parameters:
        cacheHeaders - the CacheHeaders that will be passed with records generated from this request to NormalizedCache. Standardized cache headers are defined in ApolloCacheHeaders.
        Returns:
        The builder