rabbit.js examples

Publish/subscribe

pubsub.html demonstrates a publish/subscribe pattern, with each "window" having both a pub socket (for publishing) and a sub socket (for subscribing to everything published).

Request/reply

request.html and reply.html demonstrate a request/reply pattern. The request page sends requests and gets replies; the reply page gets requests and sends replies.