barakb / graphql-rsocket

An example of graphql over rsocket with Subscription

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build Renovate enabled

Example of GraphQL over RSocket

Download the RSocket client (rsc.jar)

java -jar rsc.jar --request --route=graphql --dataMimeType="application/graphql+json" --data='{"query":"{\n  greeting \n}"}' --debug ws://localhost:8080/rsocket
java -jar rsc.jar --request --route=graphql --dataMimeType="application/graphql+json" --data='{"query":"{\n  callGreeting \n}"}' --debug ws://localhost:8080/rsocket
java -jar rsc.jar --stream --route=graphql --dataMimeType="application/graphql+json" --data='{"query":"subscription { integers }"}' --debug ws://localhost:8080/rsocket
mvn spring-boot:run

About

An example of graphql over rsocket with Subscription


Languages

Language:Kotlin 100.0%