Optional agentOptional authBasic authentication i.e. 'user:password' to compute an Authorization header.
Optional autoRewrites the location host/ port on (301 / 302 / 307 / 308) redirects based on requested host/ port.Default: false.
Optional bufferBuffer
Optional changeChanges the origin of the host header to the target URL.
Optional cookierewrites domain of set-cookie headers.
Optional cookierewrites path of set-cookie headers. Default: false
Optional followSpecify whether you want to follow redirects. Default: false
Optional forwardURL string to be parsed with the url module.
Optional headersobject with extra headers to be added to target requests.
Optional hostRewrites the location hostname on (301 / 302 / 307 / 308) redirects, Default: null.
Optional ignoreSpecify whether you want to ignore the proxy path of the incoming request.
Optional localLocal interface string to bind for outgoing connections.
Optional prependSpecify whether you want to prepend the target's path to the proxy path.
Optional preservespecify whether you want to keep letter case of response header key
Optional protocolRewrites the location protocol on (301 / 302 / 307 / 308) redirects to 'http' or 'https'.Default: null.
Optional proxyTimeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes)
Optional secureVerify SSL certificate.
Optional selfIf set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event
Optional sslObject to be passed to https.createServer().
Optional targetURL string to be parsed with the url module.
Optional timeoutTimeout (in milliseconds) for incoming requests
Optional toExplicitly specify if we are proxying to another proxy.
Optional wsIf you want to proxy websockets.
Optional xfwdAdds x- forward headers.
Object to be passed to http(s).request.