ApolloRequest

class ApolloRequest<D : Operation.Data> : ExecutionOptions

A GraphQL request to execute. Execution can be customized with executionContext

Types

Link copied to clipboard
class Builder<D : Operation.Data>(operation: Operation<D>) : MutableExecutionOptions<ApolloRequest.Builder<D>>

Functions

Link copied to clipboard
fun newBuilder(): ApolloRequest.Builder<D>
fun <E : Operation.Data> newBuilder(operation: Operation<E>): ApolloRequest.Builder<E>

Properties

Link copied to clipboard
open override val canBeBatched: Boolean?
Link copied to clipboard
open override val enableAutoPersistedQueries: Boolean?

Whether to enable Auto Persisted Queries and try to send a hashed query first Used by com.apollographql.apollo3.interceptor.AutoPersistedQueryInterceptor

Link copied to clipboard
open override val executionContext: ExecutionContext
Link copied to clipboard
open override val httpHeaders: List<HttpHeader>?

HTTP headers to use for the request Used by com.apollographql.apollo3.api.http.DefaultHttpRequestComposer

Link copied to clipboard
open override val httpMethod: HttpMethod?

The HTTP method to use for the request

Link copied to clipboard
val operation: Operation<D>
Link copied to clipboard
val requestUuid: Uuid
Link copied to clipboard
open override val sendApqExtensions: Boolean?

Whether to send the Auto Persisted Queries extensions Used by com.apollographql.apollo3.api.http.DefaultHttpRequestComposer

Link copied to clipboard
open override val sendDocument: Boolean?