graphql-ws-client

Crates.iographql-ws-client
lib.rsgraphql-ws-client
version0.11.1
sourcesrc
created_at2021-04-04 17:36:33.43081
updated_at2024-10-29 19:32:46.788939
descriptionA graphql over websockets client
homepage
repositoryhttps://github.com/obmarg/graphql-ws-client
max_upload_size
id378887
size100,698
Graeme Coupar (obmarg)

documentation

https://docs.rs/graphql-ws-client

README

GraphQL Websocket Client

Runtime agnostic graphql websocket client

Crate Info API Docs Discord Chat

Examples | Changelog

Overview

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

Integrations

The library offers integrations with some popular GraphQL clients with feature flags:

Documentation

The documentation is quite limited at the moment, here are some sources:

  1. The provided examples
  2. The reference documentation on docs.rs

Logging

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.

Commit count: 123

cargo fmt