graphql-client
graphql-client copied to clipboard
How to use subscriptions with this library?
Hi!
This library is a very simple wrapper around fetch and doesn’t support subscriptions at the moment. The problem with subscriptions is that they could be transferred multiple way, and a client would need to be configured with a specific server. I don’t know if there are any standards yet how to transfer subscriptions, are you aware of any?
I guess people are using web sockets, long polling and SSE for transferring subscriptions