Crate gurkle[][src]

The top-level documentation resides on the project README at the moment.

The main interface to this library is the custom derive that generates modules from a GraphQL query and schema. See the docs for the [GraphQLRequest] trait for a full example.

Structs

GraphQLError

An element in the top-level errors array of a response body.

HttpClient

HTTP(S) GraphQL client

Location

Represents a location inside a query string. Used in errors. See GraphQLError.

RequestBody

The form in which queries are sent over HTTP in most implementations.

Response

The generic shape taken by the responses of GraphQL APIs.

WsClient

WebSocket GraphQL client

Enums

Error

GraphQL errors

PathFragment

Part of a path in a query. It can be an object key or an array index. See GraphQLError.

Traits

Executor

Trait for executing GraphQL operations (queries and mutations).

Subscriber

Trait for subscribing to GraphQL subscription operations.

Type Definitions

SubscriptionStream

Stream type for subscriptions