apollographql / graphql-subscriptions

:newspaper: A small module that implements GraphQL subscriptions for Node.js
MIT License
1.58k stars 133 forks source link

Usage with native WebSocket API on the client #226

Open louislebrault opened 4 years ago

louislebrault commented 4 years ago

Hi :wave:

I'm a bit confused about something in the readme : This package should be used with a network transport, for example subscriptions-transport-ws. Network transport is broad. For me, a "network transport" could be a simple websocket server, and client-side, any usage of the WebSocket API. But then, why taking as example another library ?

Can we find somewhere some specification about implementing our own "network transport" ?