Crate coasys_juniper_rocket

Crate coasys_juniper_rocket 

Source
Expand description

§juniper_rocket crate

Crates.io Documentation CI Rust 1.65+

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/rocket_server.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
Generate an HTML page containing GraphiQL
playground_source
Generate an HTML page containing GraphQL Playground