Crate graphql_ws_client
source · [−]Expand description
graphql-ws-client
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.
Modules
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.
Structs
A websocket client
A websocket client builder
A futures::Stream
for a subscription.
Enums
Error type