Skip to content

Latest commit

 

History

History
 
 

graphql-ws-subscriptions

WunderGraph subscriptions example - graphql-ws

Protocol

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

Getting started

npm install && npm start

Check results

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

SSE output

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

TS operation

curl -N http://localhost:9991/operations/users/get?id=1

Learn More

Read the Docs.

Deploy to WunderGraph Cloud

Deploy to WunderGraph

Got Questions?

Join us on Discord!