Crate juniper_actix
source ·Expand description
§juniper_actix
crate
actix-web
web server integration for juniper
(GraphQL implementation for Rust).
It’s inspired and some parts are copied from juniper_warp
crate.
§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 actix-web
server with GraphQL handlers.
§License
This project is licensed under BSD 2-Clause License.
Modules§
juniper_actix
subscriptions handler implementation.
Functions§
- Actix GraphQL Handler for GET requests
- Create a handler that replies with an HTML page containing GraphiQL. This does not handle routing, so you can mount it on any endpoint
- Actix Web GraphQL Handler for GET and POST requests
- Create a handler that replies with an HTML page containing GraphQL Playground. This does not handle routing, so you cant mount it on any endpoint.
- Actix GraphQL Handler for POST requests