2 unstable releases

0.2.0 Jan 27, 2022
0.1.0 Apr 4, 2021

#48 in WebSocket

Download history 127/week @ 2022-03-11 62/week @ 2022-03-18 8/week @ 2022-03-25 28/week @ 2022-04-01 14/week @ 2022-04-08 24/week @ 2022-04-15 15/week @ 2022-04-22 33/week @ 2022-04-29 19/week @ 2022-05-06 67/week @ 2022-05-13 25/week @ 2022-05-20 37/week @ 2022-05-27 32/week @ 2022-06-03 21/week @ 2022-06-10 23/week @ 2022-06-17 43/week @ 2022-06-24

122 downloads per month

Apache-2.0

31KB
657 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 is built upon the websocket library async-tungstenite.

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

~4.5–6.5MB
~157K SLoC