graphql-python / gql

A GraphQL client in Python
https://gql.readthedocs.io
MIT License
1.53k stars 179 forks source link

aiohttp transport should support websockets #418

Open devkral opened 1 year ago

devkral commented 1 year ago

aiohttp has out of the box websocket support.

So it should be easy to integrate in the transport.

leszekhanusz commented 1 year ago

Sure, why not make a new transport named AIOHTTPWebsocketsTransport. I'll accept a PR if it is well-tested and comes with 100% test coverage.