graphql_transport_ws library

An implementation of the graphql-transport-ws protocol, of the graphql-ws library, which current GraphQL clients use for subscriptions over WebSockets.

Its WebSocket subprotocol is graphql-transport-ws. For Apollo's older subscriptions-transport-ws protocol, whose subprotocol is graphql-ws, see subscriptions_transport_ws.dart.

See: https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md

Classes

TransportWSCloseCode
The WebSocket close codes of the graphql-transport-ws protocol.
TransportWSMessage
A message of the graphql-transport-ws protocol.
TransportWSServer
The server side of one connection of the graphql-transport-ws protocol, which the graphql-ws client and Apollo Client 3 speak.