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.
Structs§
- Body
Limit - Maximum size in bytes of a request body for
graphql()andgraphql_sync().
Constants§
- DEFAULT_
BODY_ LIMIT - Default maximum size in bytes of a request body for
graphql()andgraphql_sync().
Functions§
- graphiql
- Generates a
Responsepage containing GraphiQL. - graphql
- Executes the provided GraphQL
Requestagainst the providedschemain the providedcontext, returning the encodedResponse. - graphql_
sync - Executes synchronously the provided GraphQL
Requestagainst the providedschemain the providedcontext, returning the encodedResponse. - playground
- Generates a
Responsepage containing GraphQL Playground.