Expand description
§juniper_hyper
crate
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 providedschema
in the providedcontext
, returning the encodedResponse
. - graphql_
sync - Executes synchronously the provided GraphQL
Request
against the providedschema
in the providedcontext
, returning the encodedResponse
. - playground
- Generates a
Response
page containing GraphQL Playground.