Subscriptions-transport-ws: Add and example of client-server interaction in README

Created on 6 Oct 2016  路  2Comments  路  Source: apollographql/subscriptions-transport-ws

Thanks for putting this together! It's an awesome initiative! 馃弳

I find it always very helpful to have a concrete example of client-server interaction for these kind of protocols. (just a JSON message exchange example)

Also, just a minor thing: based on the information provided in the README, it was not immediately clear how type is encoded in the protocol. After looking in the source code I realized that it's just a property of a message itself. Maybe it's worth mentioning it or showing in in some more obvious way in the README?

help wanted

Most helpful comment

I completely agree! I'll try to update these docs tonight or tomorrow to be more clear, both in the type field and an example of a start-to-finish interaction.

All 2 comments

I completely agree! I'll try to update these docs tonight or tomorrow to be more clear, both in the type field and an example of a start-to-finish interaction.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

booboothefool picture booboothefool  路  4Comments

anilanar picture anilanar  路  5Comments

thebigredgeek picture thebigredgeek  路  5Comments

nickofthyme picture nickofthyme  路  3Comments

KaiWedekind picture KaiWedekind  路  4Comments