Crate juniper_hyper

Crate juniper_hyper 

Source
Expand description

§juniper_hyper crate

Crates.io Documentation CI Rust 1.85+

hyper 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/hyper_server.rs for example code of a working hyper server with GraphQL handlers.

§License

This project is licensed under BSD 2-Clause License.

Functions§

graphiql
Generates a Response page containing GraphiQL.
graphql
Executes the provided GraphQL Request against the provided schema in the provided context, returning the encoded Response.
graphql_sync
Executes synchronously the provided GraphQL Request against the provided schema in the provided context, returning the encoded Response.
playground
Generates a Response page containing GraphQL Playground.