Optional mapper function to alter the request body (if any) before sending the request.
Can return undefined
to not send a body.
The destination to proxy to.
Optional mapper function to alter the ClientRequestArgs before sending it. Can return
the altered ClientRequestArgs or a Promise resolving to a ClientRequestArgs to
continue with the request. Can return null
or a Promise resolving to null
to
cancel the request.
The root of the REST path to start proxying.
Generated using TypeDoc
Optional additional headers to send with the request.