File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,14 @@ server.listen(5050);
105
105
106
106
* ** target** : url string to be parsed with the url module
107
107
* ** forward** : url string to be parsed with the url module
108
+ * ** agent** : object to be passed to http(s).request (see Node's [ https agent] [ 0 ] and [ http agent] [ 1 ] agent objects)
109
+
110
+ If you are using the ` proxyServer.listen ` method, the following options are also applicable:
111
+
108
112
* ** ssl** : object to be passed to https.createServer()
109
113
* ** ws** : true/false, if you want to proxy websockets
110
114
* ** xfwd** : true/false, adds x-forward headers
111
- * ** maxSock ** : maximum number of sockets
115
+
112
116
113
117
### Test
114
118
@@ -144,3 +148,5 @@ Logo created by [Diego Pasquali](http://dribbble.com/diegopq)
144
148
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
145
149
> THE SOFTWARE.
146
150
151
+ [ 0 ] : http://nodejs.org/api/https.html#https_class_https_agent
152
+ [ 1 ] : http://nodejs.org/api/http.html#http_class_http_agent
You can’t perform that action at this time.
0 commit comments