Skip to content

Commit 107c187

Browse files
jlaamanenindexzero
authored andcommitted
Added timeout option to docs
1 parent de1b808 commit 107c187

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ proxyServer.listen(8015);
355355
}
356356
```
357357
* **headers**: object with extra headers to be added to target requests.
358-
* **proxyTimeout**: timeout (in millis) when proxy receives no response from target
358+
* **proxyTimeout**: timeout (in millis) for outgoing proxy requests
359+
* **timeout**: timeout (in millis) for incoming requests
359360
360361
**NOTE:**
361362
`options.ws` and `options.ssl` are optional.

0 commit comments

Comments
 (0)