Skip to content

Commit

Permalink
Add description to README
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelio-o committed Aug 26, 2019
1 parent 5c2850c commit ce860c2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web-graphql-examples/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ First you need to run the server then you can run the client.

* link:src/main/java/io/vertx/example/web/graphql/Server.java[Simple Java GraphQL server]
* link:src/main/java/io/vertx/example/web/graphql/Client.java[Simple Java GraphQL client]

== Apollo Subscriptions server and client

The client of this example starts an Apollo subscription on the server and log each message received. The connection is done through a Websocket.

The server responses with the link list of the simple exmple, but with each item in a separated websocket message.

First you need to run the server then you can run the client.

* link:src/main/java/io/vertx/example/web/graphql/SubscriptionServer.java[Apollo Subscription Java GraphQL server]
* link:src/main/java/io/vertx/example/web/graphql/SubscriptionClient.java[Apollo Subscription Java GraphQL client]

0 comments on commit ce860c2

Please sign in to comment.