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)
).
Structs§
- GraphQL
Batch Request - A batch request which can be extracted from a request’s body.
- GraphQL
Query - A GraphQL request which can be extracted from a query string.
- GraphQL
Request - A GraphQL request which can be extracted from the request’s body.
- GraphQL
Response - Wrapper around
async-graphql::Response
that is a Rocket responder so it can be returned from a routing function in Rocket.