2 unstable releases
0.2.0 | Jan 27, 2022 |
---|---|
0.1.0 | Apr 4, 2021 |
#48 in WebSocket
122 downloads per month
31KB
657 lines
Overview
The goal of this library is to provide a runtime agnostic implementation for GraphQL-over-Websocket. The library only supports subscriptions for now but will eventually support queries and mutations. It is built upon the websocket library async-tungstenite.
Integrations
The library offers integrations with some popular GraphQL clients with feature flags:
- graphql-client:
features = ["client-graphql-client"]
- cynic:
features = ["client-cynic"]
Documentation
The documentation is quite limited at the moment, here are some sources:
Logging
By default, the library will log some messages at the trace
level to help you debug.
It is possible to turn off the logging entirely by using the no-logging
feature.
Dependencies
~4.5–6.5MB
~157K SLoC