fast-proxy-lite
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "fast-proxy-lite", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Forward your HTTP request to another server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -55,4 +55,3 @@ # fast-proxy-lite | ||
#### `base` | ||
Set the base URL for all the forwarded requests. Will be required if `http2` is set to `true` | ||
Note that _path will be discarded_. | ||
Set the base URL for all the forwarded requests. | ||
@@ -110,3 +109,2 @@ #### cacheURLs | ||
Optionally indicates the base URL for the current request proxy. When used, the global `base` config is overwriten. | ||
> This configuration value is ignored when using HTTP2. | ||
@@ -128,9 +126,7 @@ ##### onResponse(req, res, stream) | ||
##### request | ||
Extended options supported by `http[s].request` method (https://nodejs.org/api/http.html#http_http_request_options_callback) | ||
The following options are dynamically assigned: `method, port, path, hostname, headers, agent`. | ||
Extended options supported by `http[s].request` method (https://nodejs.org/api/http.html#http_http_request_options_callback) | ||
> The following options are dynamically assigned: `method, port, path, hostname, headers, agent`. | ||
##### queryString | ||
Replaces the original querystring of the request with what is specified. | ||
This will get passed to | ||
[`querystring.stringify`](https://nodejs.org/api/querystring.html#querystring_querystring_stringify_obj_sep_eq_options). | ||
@@ -137,0 +133,0 @@ ## Related topics |
16256
136