Expand description

Async-graphql integration with Rocket.

Note: This integrates with the unreleased version 0.5 of Rocket, and so breaking changes in both this library and Rocket are to be expected.

To configure options for sending and receiving multipart requests, add your instance of MultipartOptions to the state managed by Rocket (.manage(your_multipart_options)).

Full Example

Structs

A batch request which can be extracted from a request’s body.

A GraphQL request which can be extracted from a query string.

A GraphQL request which can be extracted from the request’s body.

Wrapper around async-graphql::Response that is a Rocket responder so it can be returned from a routing function in Rocket.