Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: fix https.timeout docs
`server.timeout` is a property, not a method

PR-URL: #12039
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Ahmad Nassri authored and jasnell committed Mar 27, 2017
1 parent d437841 commit d367a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/https.md
Expand Up @@ -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`][].

Expand Down

0 comments on commit d367a0a

Please sign in to comment.