crcn/beanpoll.js — Issue #94: better route binding
Author: crcn
Created: 2012-02-24 17:47:16+00:00
State: open
Labels: additions

This is currently the only option

```javascript
router.push('someData', data);
router.on('someData', function(req, res) {
res.end(data);
});
```

It would be easier if there was:

```javascript
router.bind('someData', function(req, res) {
if(res) return res.end(data);
data = req.query;
});
```