Crate juniper_rocket

Crate juniper_rocket 

Source
Expand description

§juniper_rocket crate

Crates.io Documentation CI Rust 1.85+

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
FromForm::Context of a GraphQLRequest.
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.