Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (25 sloc) 0.57 kb
0a8d54e @substack initial thing, seems to work
authored
1 bouncy
2 ======
3
4 Bouncy uses node's http parser innards to bounce http requests around to where
96c27c8 @substack note about transparency
authored
5 they need to go in an entirely transparent way.
0a8d54e @substack initial thing, seems to work
authored
6
7 Use bouncy as a load balancer or http host router.
8
9 example
10 =======
11
12 bounce.js
13 ---------
14
15 Bounce requests to :8001 along to :8000...
16
17 ````javascript
a7e9329 @substack absolute requires for the examples
authored
18 var bouncy = require('bouncy');
0a8d54e @substack initial thing, seems to work
authored
19 var net = require('net');
20
21 bouncy(function (req, proxy) {
22 var stream = net.createConnection(8000);
23 proxy(stream);
24 }).listen(8001);
25 ````
26
27 install
28 =======
29
30 With [npm](http://npmjs.org), do:
31
32 npm install bouncy
33
34 license
35 =======
36
37 MIT/X11
Something went wrong with that request. Please try again.