zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.24k stars 612 forks source link

Fix GraphQLProtocol documentation #1445

Closed apackin closed 1 month ago

apackin commented 1 month ago

Docs

The graphql-ws library does implement the graphql-transport-ws now. See their readme: https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md#communication "The WebSocket sub-protocol for this specification is: graphql-transport-ws."

Suggestions

Should we update the default protocol for SocketClientConfig to SocketSubProtocol.graphqlTransportWs?