2022-04-08 17:44:50 +03:00
|
|
|
`juniper_subscriptions` crate
|
|
|
|
=============================
|
|
|
|
|
|
|
|
[](https://crates.io/crates/juniper_subscriptions)
|
|
|
|
[](https://docs.rs/juniper_subscriptions)
|
|
|
|
[](https://github.com/graphql-rust/juniper/actions?query=workflow%3ACI+branch%3Amaster)
|
2022-12-19 09:31:23 +01:00
|
|
|
[](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html)
|
2022-04-08 17:44:50 +03:00
|
|
|
|
|
|
|
- [Changelog](https://github.com/graphql-rust/juniper/blob/master/juniper_subscriptions/CHANGELOG.md)
|
|
|
|
|
|
|
|
This repository contains `SubscriptionCoordinator` and `SubscriptionConnection` implementations for
|
|
|
|
[`juniper`], a [GraphQL] library for Rust.
|
|
|
|
|
|
|
|
You need both this and [`juniper`] crate for usage.
|
|
|
|
|
|
|
|
|
2020-03-19 06:31:36 +03:00
|
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
For this crate's documentation, check out [API docs](https://docs.rs/juniper_subscriptions).
|
|
|
|
|
|
|
|
For `SubscriptionCoordinator` and `SubscriptionConnection` documentation, check out [`juniper` API docs][`juniper`].
|
|
|
|
|
|
|
|
|
2020-03-19 06:31:36 +03:00
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
Check [`examples/warp_subscriptions/`][1] for example code of a working [`warp`] server with [GraphQL] subscription handlers.
|
|
|
|
|
2020-03-19 06:31:36 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
This project is licensed under [BSD 2-Clause License](https://github.com/graphql-rust/juniper/blob/master/juniper_subscriptions/LICENSE).
|
2020-03-19 06:31:36 +03:00
|
|
|
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
|
|
|
|
|
|
|
|
[`juniper`]: https://docs.rs/juniper
|
|
|
|
[`warp`]: https://docs.rs/warp
|
2020-03-19 06:31:36 +03:00
|
|
|
[GraphQL]: http://graphql.org
|
2022-04-08 17:44:50 +03:00
|
|
|
|
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/master/examples/warp_subscriptions/src/main.rs
|