0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 15:06:33 +01:00

doc: fix https.timeout docs

`server.timeout` is a property, not a method

PR-URL: https://github.com/nodejs/node/pull/12039
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Ahmad Nassri 2017-03-25 14:26:11 -04:00 committed by James M Snell
parent d437841961
commit d367a0a3ac

View File

@ -30,11 +30,11 @@ added: v0.11.2
See [`http.Server#setTimeout()`][].
### server.timeout([msecs])
### server.timeout
<!-- YAML
added: v0.11.2
-->
- `msecs` {number} Defaults to 120000 (2 minutes).
- {number} Defaults to 120000 (2 minutes).
See [`http.Server#timeout`][].