RequestParameters

class RequestParameters(val query: String?, val operationName: String, val variables: Map<String, ApolloJsonElement?>, val extensions: Map<String, ApolloJsonElement?>, val uploads: Map<String, Upload>)

The request parameters.

See https://graphql.github.io/graphql-over-http/draft/#sec-Request-Parameters

Constructors

Link copied to clipboard
constructor(query: String?, operationName: String, variables: Map<String, ApolloJsonElement?>, extensions: Map<String, ApolloJsonElement?>, uploads: Map<String, Upload>)

Properties

Link copied to clipboard

additional parameters for the request.

Link copied to clipboard

the name of the operation to execute.

Link copied to clipboard

the GraphQL executable document to execute. May be null for persisted queries.

Link copied to clipboard

files to upload.

Link copied to clipboard

the variables to use for the query.

Functions

Link copied to clipboard

Turns the RequestParameters into a ByteString

Link copied to clipboard
Link copied to clipboard