Skip to content

Commit 6579b1a

Browse files
trivikrtargos
authored andcommitted
doc,http: indicate callback is optional for message.setTimeout()
Documents that callback is optional for IncomingMessage setTimeout PR-URL: #29654 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 3de1fc6 commit 6579b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@ added: v0.11.6
17701770
The raw request/response trailer keys and values exactly as they were
17711771
received. Only populated at the `'end'` event.
17721772

1773-
### message.setTimeout(msecs, callback)
1773+
### message.setTimeout(msecs[, callback])
17741774
<!-- YAML
17751775
added: v0.5.9
17761776
-->

0 commit comments

Comments
 (0)