kroxy
HTTP proxy middleware of Koa.
Install
$ npm install --save kroxy
Usage
appOptions
All options are default false.
trustRequestBodyIf enabled andcontext.request.bodyexists, use it as the body of request.parseResponseBodyIf enabled,context.response.bodyare parsed intoBuffer, otherwise stream.
Example
const http = const koa = const kroxy = const app = app // HTTP forward proxy const server = httpserverserver // HTTP tunnel proxyLicense
MIT