Skip to content

Class GraphqlRequest

Namespace: Cephalon.Behaviors.Http.Bindings
Assembly: Cephalon.Behaviors.Http.dll

Represents a parsed GraphQL request containing the query string and optional variables.

public sealed record GraphqlRequest : IEquatable<GraphqlRequest>

objectGraphqlRequest

IEquatable<GraphqlRequest>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Represents a parsed GraphQL request containing the query string and optional variables.

public GraphqlRequest(string Query, JsonElement Variables)

Query string

The GraphQL query string.

Variables JsonElement

The optional variables document.

The GraphQL query string.

public string Query { get; init; }

string

The optional variables document.

public JsonElement Variables { get; init; }

JsonElement