Bridging Transports

Piper has support for a number of different transports, for both Node.js and the browser.

Node.js Transports

At this stage, the following transports are available:


Powered By: redis

var piper = require('piper'),
    testpipe = piper('test');

// publish events via redis

// fire an event
testpipe('hit', 'car');

Now, if you were to run this example, while running the MONITOR command within the redis-cli you should see something like:

redis> monitor
1327677978.544554 "monitor"
1327678022.363266 "info"
1327678022.364069 "publish" "eve-piper" "[\"test.hit\",\"car\"]"

Transport Source and Test Suite:

Browser Transports

In development...

Table Of Contents

Previous topic


Next topic

Function Chaining

This Page