juniper/juniper_subscriptions
Kai Ren 9849736582
Improve WebSocket integration (#1191, #1022)
- consider `juniper_graphql_transport_ws` crate on CI
- implement auto-selection of protocol in `juniper_warp` crate
- support `graphql-transport-ws` protocol in  `juniper_actix` crate
- implement auto-selection of protocol in `juniper_actix` crate

Additionally:
- move `examples/warp_subscriptions` into `juniper_warp/examples/subscription.rs`
- move `examples/actix_subscriptions` into `juniper_actix/examples/subscription.rs`
- move `examples/basic_subscriptions` into `juniper_subscriptions/examples/basic.rs`
- bump up MSRV of `juniper_actix` crate to 1.68
2023-09-21 23:24:41 +02:00
..
examples Improve WebSocket integration (#1191, #1022) 2023-09-21 23:24:41 +02:00
src Upgrade to 2021 Rust edition 2022-07-13 15:20:10 +02:00
Cargo.toml Improve WebSocket integration (#1191, #1022) 2023-09-21 23:24:41 +02:00
CHANGELOG.md Rework CI and project toolchain (#1043) 2022-04-08 17:44:50 +03:00
LICENSE Rework CI and project toolchain (#1043) 2022-04-08 17:44:50 +03:00
README.md Improve WebSocket integration (#1191, #1022) 2023-09-21 23:24:41 +02:00
release.toml add juniper_graphql_transport_ws crate for new subscription protocol (#1158) 2023-08-25 01:02:32 +00:00

juniper_subscriptions crate

Crates.io Documentation CI Rust 1.65+

This repository contains SubscriptionCoordinator and SubscriptionConnection implementations for juniper, a GraphQL library for Rust.

You need both this and juniper crate for usage.

Documentation

For this crate's documentation, check out API docs.

For SubscriptionCoordinator and SubscriptionConnection documentation, check out juniper API docs.

Examples

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

License

This project is licensed under BSD 2-Clause License.