h2non / rocky

Full-featured, middleware-oriented, programmatic HTTP and WebSocket proxy for node.js (deprecated)
MIT License
371 stars 24 forks source link

Expose rocky options to middleware #37

Closed h2non closed 9 years ago

h2non commented 9 years ago
proxy.get('/test')
  .use(function (req, res, next) {
     // req.rocky.options => { target: 'http://server' ... }
  })
h2non commented 9 years ago

Done! Pending docs examples