Crate juniper_warp[][src]

Expand description

juniper_warp

This repository contains the warp web server integration for Juniper, a GraphQL implementation for Rust.

Documentation

For documentation, including guides and examples, check out Juniper.

A basic usage example can also be found in the Api documentation.

Examples

Check examples/warp_server.rs for example code of a working warp server with GraphQL handlers.

License

This project is under the BSD-2 license.

Check the LICENSE file for details.

Structs

Error raised by tokio_threadpool if the thread pool has been shutdown.

Functions

Create a filter that replies with an HTML page containing GraphiQL. This does not handle routing, so you can mount it on any endpoint.

Make a filter for graphql queries/mutations.

Make a synchronous filter for graphql endpoint.

Create a filter that replies with an HTML page containing GraphQL Playground. This does not handle routing, so you can mount it on any endpoint.