Crate coasys_juniper_warp

Crate coasys_juniper_warp 

Source
Expand description

§juniper_warp crate

Crates.io Documentation CI Rust 1.65+

warp 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/subscription.rs for example code of a working warp server with GraphQL handlers and subscriptions.

§License

This project is licensed under BSD 2-Clause License.

Modules§

subscriptionssubscriptions
juniper_warp subscriptions handler implementation.

Structs§

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

Functions§

graphiql_filter
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_graphql_filter
Makes a filter for GraphQL queries/mutations.
make_graphql_filter_sync
Make a synchronous filter for graphql endpoint.
playground_filter
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.