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.25k stars 622 forks source link

Fix GraphQLProtocol documentation #1445

Closed apackin closed 4 months ago

apackin commented 4 months 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?