Added timeout option to docs

This commit is contained in:
jlaamanen 2018-01-31 09:00:24 +02:00 committed by Charlie Robbins
parent de1b80851a
commit 107c18720c

View File

@ -355,7 +355,8 @@ proxyServer.listen(8015);
}
```
* **headers**: object with extra headers to be added to target requests.
* **proxyTimeout**: timeout (in millis) when proxy receives no response from target
* **proxyTimeout**: timeout (in millis) for outgoing proxy requests
* **timeout**: timeout (in millis) for incoming requests
**NOTE:**
`options.ws` and `options.ssl` are optional.