Sign inSign up

dangmai/node-http-proxy-delay

By dangmai

•Updated about 8 years ago

Proxy HTTP requests after some delay

Image
0

277

dangmai/node-http-proxy-delay repository overview

⁠node-http-proxy-delay

Small library to proxy HTTP requests after a certain amount of delay.

When a request is received, the library will immediately return a 200 response, and after some time the actual proxied request will be made to the backend.

⁠Usage

npm install
PROXY_TARGET=http://localhost:8080 PROXY_DELAY=1000 PROXY_PORT=7000 node index.js

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

25 MB

Last updated

about 8 years ago

docker pull dangmai/node-http-proxy-delay