graphql-ws-client implements asynchronous GraphQL-over-Websocket using the graphql-transport-ws protocol. It tries to be websocket client, graphql client and async executor and provides built in support for:
- Cynic & Graphql-Client GraphQL clients.
- async-tungstenite as a Websocket Client.
- The async-std & tokio async runtimes.
If you’d like to use another client or runtime adding support should hopefully be trivial.
This module contains traits that abstract over GraphQL implementations, allowing this library to be used with different GraphQL client libraries.
Contains traits to provide support for various underlying websocket clients.
A websocket client
A websocket client builder
futures::Stream for a subscription.