Skip to content

Files

This branch is 243 commits behind wundergraph/wundergraph:main.

graphql-ws-subscriptions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 12, 2023
Dec 15, 2022
Mar 28, 2023
Dec 19, 2022
Jan 20, 2023
Mar 21, 2023
Dec 15, 2022
Jul 6, 2023
Nov 11, 2022

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!