Skip to content

Commit d367a0a

Browse files
Ahmad Nassrijasnell
Ahmad Nassri
authored andcommitted
doc: fix https.timeout docs
`server.timeout` is a property, not a method PR-URL: #12039 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d437841 commit d367a0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/https.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ added: v0.11.2
3030

3131
See [`http.Server#setTimeout()`][].
3232

33-
### server.timeout([msecs])
33+
### server.timeout
3434
<!-- YAML
3535
added: v0.11.2
3636
-->
37-
- `msecs` {number} Defaults to 120000 (2 minutes).
37+
- {number} Defaults to 120000 (2 minutes).
3838

3939
See [`http.Server#timeout`][].
4040

0 commit comments

Comments
 (0)