Crate juniper_rocket

Source
Expand description

§juniper_rocket crate

Crates.io Documentation CI Rust 1.73+

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§

GraphQLContext
GraphQLRequest
Simple wrapper around an incoming GraphQL request.
GraphQLResponse
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.