Skip to content

Commit

Permalink
doc: fix https.timeout docs
Browse files Browse the repository at this point in the history
`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 MylesBorins committed Mar 28, 2017
1 parent af051f6 commit 4b5f177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/https.md
Original file line number Diff line number Diff line change
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 4b5f177

Please sign in to comment.