Koa Proxies
Koa@2.x/next middlware for http proxy
Powered by http-proxy
.
Installation
$ npm install koa-proxies --save
Options
http-proxy events
optionsevents = { } { } { }
log option
// enable logoptionslogs = true; // or false // custom log functionoptionslogs = ctx target console
Usage
// dependenciesconst Koa = const proxy = const httpsProxyAgent = const app = // middlewareapp