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-wsprotocol. - TransportWSMessage
-
A message of the
graphql-transport-wsprotocol. - TransportWSServer
-
The server side of one connection of the
graphql-transport-wsprotocol, which thegraphql-wsclient and Apollo Client 3 speak.