Open catphive opened 11 years ago
There is an example in examples/pubsub/server.js
. It simply provides a pub/sub hub which handles WAMP connections and an HTTP server. If you POST JSON messages {topicuri: ..., body: ...}
to the HTTP server, they are distributed to all clients subscribed to the topic.
Sorry, there is no client example (yet?).
The docs say it supports pub/sub, but doesn't give any examples of how to do it... How would the server publish or subscribe?