Crate juniper_rocket[][src]

Expand description

juniper_rocket

This repository contains the Rocket web server integration for Juniper, a GraphQL implementation for Rust.

Documentation

For documentation, including guides and examples, check out Juniper.

A basic usage example can also be found in the Api documentation.

Examples

Check examples/rocket_server.rs for example code of a working Rocket server with GraphQL handlers.

License

This project is under the BSD-2 license.

Check the LICENSE file for details.

Structs

GraphQLRequest

Simple wrapper around an incoming GraphQL request

GraphQLResponse

Simple wrapper around the result of executing a GraphQL query

Functions

graphiql_source

Generate an HTML page containing GraphiQL

playground_source

Generate an HTML page containing GraphQL Playground