GraphQL Subscriptions: Using SSE/Fetch over Websocketsby@growthatwundergraph
1,467 reads

GraphQL Subscriptions: Using SSE/Fetch over Websockets

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

GraphQL Subscriptions allow a client to subscribe to changes. Instead of polling for changes, the client can receive updates in real-time. The most widely adopted way of implementing GraphQL is to use WebSockets. The WebSocket API is an HTTP 1.1 standard that's usually supported by all modern browsers. This way, the user interface can be updated in real time using GraphQL. Let's look at a few scenarios how you could use GraphQL subscriptions with WebSocket.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - GraphQL Subscriptions: Using SSE/Fetch over Websockets
WunderGraph  HackerNoon profile picture

@growthatwundergraph

WunderGraph

Learn More
LEARN MORE ABOUT @GROWTHATWUNDERGRAPH'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa