Crates.io | graphql-ws-client |
lib.rs | graphql-ws-client |
version | 0.11.1 |
source | src |
created_at | 2021-04-04 17:36:33.43081 |
updated_at | 2024-10-29 19:32:46.788939 |
description | A graphql over websockets client |
homepage | |
repository | https://github.com/obmarg/graphql-ws-client |
max_upload_size | |
id | 378887 |
size | 100,698 |
The goal of this library is to provide a runtime agnostic implementation for GraphQL-over-Websockets.
The library only supports subscriptions for now but will eventually support queries and mutations.
It supports the websocket libraries async-tungstenite, tokio-tungstenite and ws-stream-wasm, and
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.