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 agnostic and provides built in support for:
- Cynic & Graphql-Client GraphQL clients.
- async-tungstenite & ws-stream-wasm Websocket Clients .
- 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