Coder Social home page Coder Social logo

hermes-proxy's Introduction

Hermes-proxy

To run hermes proxy use ./proxy [opts] or use node ./bin/hermes-proxy [opts]

Try ./proxy --help to get started

Quick Setup

MAC setup

  1. install node with brew install node.
  2. upgrade node with npm install -g n; n stable
  3. upgrade npm with npm install -g npm;
  4. Run npm install in this directory
  5. test the proxy with ./proxy --help

Commands

start

Option Description Default
-p, --http-port http port for the proxy server -
-s, --https-port https port for the proxy server -
--log-level the current log level for the server DEBUG

managed

Option Description Default
-P, --protocol the protocol for the proxy manager http
-p, --port port for the proxy manager -
-d, --domain domain for the proxy manager localhost
--no-retry do not retry if the connection to the proxy manager fails false
--log-level the current log level for the server DEBUG

Proxy Socket Commands

The proxy server once connected accepts the following commands

Command Description
startup start the proxy server with a config object see below
enable the proxy will cache traffic and make requests when not cached
flush reset the proxy cache
disable the proxy will only return cached traffic
exit kill the proxy service

Proxy Config object

{
  "httpPort": "",
  "httpsPort": ""
}

hermes-proxy's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.