0.2.4 • Published 12 years ago

request-proxy v0.2.4

Weekly downloads
6
License
-
Repository
github
Last release
12 years ago

request-proxy

A version of request that's local to a fixed base uri

Example

var RequestProxy = require("request-proxy")

var request = RequestProxy({
  host: "localhost",
  port: 8080
})

// requesting to http://localhost:8080/foo
request("/foo", function (err, res, body) {
  /* do stuff */
})

Installation

npm install request-proxy

Contributors

  • Raynos

MIT Licenced

0.2.4

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago