graphQL-client-unity
graphQL-client-unity copied to clipboard
Are we opening a new websocket for each subscription
From your example looks like after I call Subscribe its its returning ClientWebSocket. So if I have 10 subscriptions running simultaneously does that mean am opening 10 websocket to the server? From apollo docs looks like they open one websocket and all subscriptions are handled using that one websocket https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md . Can you please clarify?
I am also curious about this. I don't think that's the case though, that would be curious 😄
Update: The readme does say:
The Subscribe function can take in a couple of arguments. socketId is the id you want to give the particular websocket.
Which I find strange
Update 2: How is this lib different from https://github.com/graphql-dotnet/graphql-dotnet btw 🤔