graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

How to use subscriptions with this library?

Open yosoyjp opened this issue 6 years ago • 1 comments

yosoyjp avatar Aug 18 '18 18:08 yosoyjp

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

nordsimon avatar Aug 19 '18 17:08 nordsimon