MutableExecutionOptions

interface MutableExecutionOptions<T> : ExecutionOptions

Functions

addExecutionContext
Link copied to clipboard
common
abstract fun addExecutionContext(executionContext: ExecutionContext): T
addHttpHeader
Link copied to clipboard
common
abstract fun addHttpHeader(name: String, value: String): T
Add a HTTP header to be sent with the request.
canBeBatched
Link copied to clipboard
common
abstract fun canBeBatched(canBeBatched: Boolean?): T
enableAutoPersistedQueries
Link copied to clipboard
common
abstract fun enableAutoPersistedQueries(enableAutoPersistedQueries: Boolean?): T
httpHeaders
Link copied to clipboard
common
abstract fun httpHeaders(httpHeaders: List<HttpHeader>?): T
Add HTTP headers to be sent with the request.
httpMethod
Link copied to clipboard
common
abstract fun httpMethod(httpMethod: HttpMethod?): T
Configures whether the request should use GET or POST Usually, POST request can transfer bigger GraphQL documents but are more difficult to cacheDefault: HttpMethod.Post
sendApqExtensions
Link copied to clipboard
common
abstract fun sendApqExtensions(sendApqExtensions: Boolean?): T
sendDocument
Link copied to clipboard
common
abstract fun sendDocument(sendDocument: Boolean?): T

Properties

canBeBatched
Link copied to clipboard
common
abstract val canBeBatched: Boolean?
enableAutoPersistedQueries
Link copied to clipboard
common
abstract val enableAutoPersistedQueries: Boolean?
Used by com.apollographql.apollo3.interceptor.
executionContext
Link copied to clipboard
common
abstract val executionContext: ExecutionContext
httpHeaders
Link copied to clipboard
common
httpMethod
Link copied to clipboard
common
sendApqExtensions
Link copied to clipboard
common
sendDocument
Link copied to clipboard
common

Inheritors

ApolloRequest
Link copied to clipboard