Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
bounce HTTP requests around for load balancing or as an HTTP host router
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
test
README.markdown
index.js
package.json

README.markdown

bouncy

Bouncy uses node's http parser innards to bounce http requests around to where they need to go in an entirely transparent way.

Use bouncy as a load balancer or http host router.

example

bounce.js

Bounce requests to :8001 along to :8000...

var bouncy = require('bouncy');
var net = require('net');

bouncy(function (req, bounce) {
    var stream = net.createConnection(8000);
    bounce(stream);
}).listen(8001);

install

With npm, do:

npm install bouncy

license

MIT/X11

Something went wrong with that request. Please try again.