#graphql #graphql-client #websocket-client

graphql-ws-client-old-protocol

A graphql over websockets client

1 unstable release

0.6.0 Nov 30, 2023

#1445 in HTTP server

Apache-2.0

41KB
818 lines

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-Websocket. The library only supports subscriptions for now but will eventually support queries and mutations. It supports the websocket libraries async-tungstenite and ws-stream-wasm.

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.

Dependencies

~2.4–6.5MB
~116K SLoC