api documentation for http-proxy-middleware (v0.17.4)

The one-liner node.js proxy middleware for connect, express and browser-sync

table of contents

  1. module http-proxy-middleware
    1. function http-proxy-middleware (context, opts)
    2. object http-proxy-middleware.config_factory
    3. object http-proxy-middleware.context_matcher
    4. object http-proxy-middleware.handlers
    5. object http-proxy-middleware.logger
    6. object http-proxy-middleware.path_rewriter
    7. object http-proxy-middleware.router
  2. module http-proxy-middleware.config_factory
    1. function http-proxy-middleware.config_factory.createConfig (context, opts)
  3. module http-proxy-middleware.context_matcher
    1. function http-proxy-middleware.context_matcher.match (context, uri, req)
  4. module http-proxy-middleware.handlers
    1. function http-proxy-middleware.handlers.getHandlers (opts)
    2. function http-proxy-middleware.handlers.init (proxy, opts)
  5. module http-proxy-middleware.logger
    1. function http-proxy-middleware.logger.getArrow (originalPath, newPath, originalTarget, newTarget)
    2. function http-proxy-middleware.logger.getInstance ()
  6. module http-proxy-middleware.path_rewriter
    1. function http-proxy-middleware.path_rewriter.create (rewriteConfig)
  7. module http-proxy-middleware.router
    1. function http-proxy-middleware.router.getTarget (req, config)

module http-proxy-middleware

function http-proxy-middleware (context, opts)

module http-proxy-middleware.config_factory

function http-proxy-middleware.config_factory.createConfig (context, opts)

module http-proxy-middleware.context_matcher

function http-proxy-middleware.context_matcher.match (context, uri, req)

module http-proxy-middleware.handlers

function http-proxy-middleware.handlers.getHandlers (opts)

function http-proxy-middleware.handlers.init (proxy, opts)

module http-proxy-middleware.logger

function http-proxy-middleware.logger.getArrow (originalPath, newPath, originalTarget, newTarget)

function http-proxy-middleware.logger.getInstance ()

module http-proxy-middleware.path_rewriter

function http-proxy-middleware.path_rewriter.create (rewriteConfig)

module http-proxy-middleware.router

function http-proxy-middleware.router.getTarget (req, config)

[ this document was created with utility2 ]