# dynamic-reverse-proxy-client

> A client to the dynamic-reverse-proxy, to register an application via REST.

Latest version **0.5.1** (published 2014-04-02) · 0 weekly downloads

## Install

```sh
npm install dynamic-reverse-proxy-client
pnpm add dynamic-reverse-proxy-client
yarn add dynamic-reverse-proxy-client
bun add dynamic-reverse-proxy-client
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2014-04-02 |
| First published | 2012-10-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrew Dunkman |
| Maintainers | adunkman, smerchek |

## Links

- npm: https://www.npmjs.com/package/dynamic-reverse-proxy-client
- Repository: https://github.com/softek/dynamic-reverse-proxy-client
- Issues: https://github.com/softek/dynamic-reverse-proxy-client/issues
- npm.io page: https://npm.io/package/dynamic-reverse-proxy-client

## Dependencies (1)

- [winston](https://npm.io/package/winston.md) 0.6.2

## Recent versions

- 0.5.1 (latest) — 2014-04-02
- 0.5.0 — 2013-02-11
- 0.4.0 — 2012-10-30
- 0.2.1 — 2012-10-11
- 0.2.0 — 2012-10-11

## README

# dynamic-reverse-proxy-client

A client to [dynamic-reverse-proxy](https://github.com/softek/dynamic-reverse-proxy). 

## Usage

```javascript
var reverseProxyClient = require("dynamic-reverse-proxy-client");

// This is actually the default, but this would be how to change it.
var proxy = {
   host: "localhost",
   port: "80",
   path: "/routes",
   method: "POST"
};

var application = {
   prefix: "/test",
   port: 4321
};

var client = reverseProxyClient({ application: application, proxy: proxy });

client.on("error", function (reason, willRetry) {
   console.log(reason, (willRetry ? "This request will be retried." : "This request will NOT be retried."));
});

client.on("success", function () {
   console.log("Registered.");
});
```

---
_Source: https://npm.io/package/dynamic-reverse-proxy-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
