DefaultApolloCall

Constructors

Link copied to clipboard
constructor(apolloClient: ApolloClient, operation: Operation<D>)

Properties

Link copied to clipboard
val CAN_BE_BATCHED: String = "X-APOLLO-CAN-BE-BATCHED"
Link copied to clipboard
@get:Nullable
open val canBeBatched: Boolean
Link copied to clipboard
Link copied to clipboard
@get:Nullable
open val enableAutoPersistedQueries: Boolean
Link copied to clipboard
@get:NotNull
open val executionContext: ExecutionContext
Link copied to clipboard
@get:Nullable
open val httpHeaders: List<HttpHeader>
Link copied to clipboard
@get:Nullable
open val httpMethod: HttpMethod
Link copied to clipboard
@get:Nullable
open val retryOnError: Boolean
Link copied to clipboard
@get:Nullable
open val sendApqExtensions: Boolean
Link copied to clipboard
@get:Nullable
open val sendDocument: Boolean

Functions

Link copied to clipboard
open fun addExecutionContext(@NotNull executionContext: ExecutionContext): ApolloCall<D>
Link copied to clipboard
open fun addHttpHeader(@NotNull name: String, @NotNull value: String): ApolloCall<D>
Link copied to clipboard
open fun canBeBatched(@Nullable canBeBatched: Boolean): ApolloCall<D>
Link copied to clipboard
open fun enableAutoPersistedQueries(@Nullable enableAutoPersistedQueries: Boolean): ApolloCall<D>
Link copied to clipboard
open fun enqueue(@NotNull callback: ApolloCallback<D>): ApolloDisposable
Schedules the request to be executed at some point in the future.
Link copied to clipboard
abstract fun getCanBeBatched(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getHttpHeaders(): List<HttpHeader>
Link copied to clipboard
abstract fun getHttpMethod(): HttpMethod
Link copied to clipboard
Link copied to clipboard
abstract fun getSendDocument(): Boolean
Link copied to clipboard
open fun httpHeaders(@Nullable list: List<HttpHeader>): ApolloCall<D>
Link copied to clipboard
open fun httpMethod(@Nullable httpMethod: HttpMethod): ApolloCall<D>
Link copied to clipboard
open fun retryOnError(@Nullable retryOnError: Boolean): ApolloCall<D>
Link copied to clipboard
open fun sendApqExtensions(@Nullable sendApqExtensions: Boolean): ApolloCall<D>
Link copied to clipboard
open fun sendDocument(@Nullable sendDocument: Boolean): ApolloCall<D>