Replies: 2 comments 1 reply
-
SSE is not multiplexed (like WebSockets), once the client connects - only the server can dispatch messages to the client. The GraphQL over Server-Sent Events Protocol has 2 working modes:
Read more in the GraphQL over Server-Sent Events Protocol. |
Beta Was this translation helpful? Give feedback.
-
Hmm, but given that you can only have a few connections to a site allowed by the browser, shouldn't single connection mode be the only thing supported? I'm trying to understand why this library supports distinct connection mode and defaults to it, it seems to me that it's technically inferior? Am I missing a benefit? |
Beta Was this translation helpful? Give feedback.
-
It seems to me that all subscriptions should always come in over a single SSE channel that gets lazily opened.
So I wonder what the rationale is for making this optional?
Beta Was this translation helpful? Give feedback.
All reactions