| Crates.io | graphql-ws-client-old-protocol |
| lib.rs | graphql-ws-client-old-protocol |
| version | 0.6.0 |
| created_at | 2023-11-30 15:12:51.858033+00 |
| updated_at | 2023-11-30 15:12:51.858033+00 |
| description | A graphql over websockets client |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1054239 |
| size | 68,638 |
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 supports the websocket libraries async-tungstenite and ws-stream-wasm.
The library offers integrations with some popular GraphQL clients with feature flags:
features = ["client-graphql-client"]features = ["client-cynic"]The documentation is quite limited at the moment, here are some sources:
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.