Expand description
§juniper_rocket
crate
rocket
web server integration for juniper
(GraphQL implementation for Rust).
§Documentation
For documentation, including guides and examples, check out Juniper Book.
A basic usage example can also be found in the API docs.
§Examples
Check examples/simple.rs
for example code of a working rocket
server with GraphQL handlers.
§License
This project is licensed under BSD 2-Clause License.
Structs§
- GraphQL
Context - GraphQL
Request - Simple wrapper around an incoming GraphQL request.
- GraphQL
Response - Simple wrapper around the result of executing a GraphQL query
Functions§
- graphiql_
source - Generates a
RawHtml
page containing GraphiQL. - playground_
source - Generates a
RawHtml
page containing GraphQL Playground.