examples
balancer
simple-balancer-with-websockets.js +84 -0
simple-balancer.js +64 -0
helpers
store.js +64 -0
http
basic-proxy.js +60 -0
concurrent-proxy.js +68 -0
custom-proxy-error.js +55 -0
error-handling.js +63 -0
forward-and-target-proxy.js +67 -0
forward-proxy.js +53 -0
latent-proxy.js +54 -0
proxy-http-to-https.js +46 -0
proxy-https-to-http.js +60 -0
proxy-https-to-https.js +59 -0
standalone-proxy.js +54 -0
middleware
bodyDecoder-middleware.js +119 -0
gzip-middleware.js +65 -0
modifyResponse-middleware.js +67 -0
websocket
latent-websocket-proxy.js +91 -0
standalone-websocket-proxy.js +88 -0
websocket-proxy.js +70 -0
concurrent-proxy.js +0 -36
forward-proxy.js +0 -33
https-secure.js +0 -16
https.js +0 -13
package.json +13 -0
stand-alone.js +0 -17
test
examples-test.js +71 -0
.travis.yml +1 -1
package.json +2 -1
+ 84
- 0
\ No newline at end of file
examples/balancer/simple-balancer.js
0 → 100644
+ 64
- 0
\ No newline at end of file
examples/helpers/store.js
0 → 100644
+ 64
- 0
examples/http/basic-proxy.js
0 → 100644
+ 60
- 0
examples/http/concurrent-proxy.js
0 → 100644
+ 68
- 0