New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dynamic-reverse-proxy-client

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-reverse-proxy-client

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

latest
Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
4
-42.86%
Maintainers
2
Weekly downloads
 
Created
Source

dynamic-reverse-proxy-client

A client to dynamic-reverse-proxy.

Usage

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.");
});

FAQs

Package last updated on 02 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts