GraphQL WS subscriptions Example

Check the example

Protocol

https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md

Getting started

1
npm install && npm start

Check results

1
curl -N http://localhost:9991/operations/Ws

SSE output

1
curl -N http://localhost:9991/operations/Ws\?wg_sse\=true

Deploy to WunderGraph Cloud

The easiest way to deploy your WunderGraph app is to use WunderGraph Cloud.

Deploy to WunderGraph

Was this article helpful to you?
Provide feedback

Edit this page