doc,http: indicate callback is optional for message.setTimeout()

Documents that callback is optional for IncomingMessage setTimeout

PR-URL: https://github.com/nodejs/node/pull/29654
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Trivikram Kamat 2019-09-22 12:24:11 -07:00 committed by Rich Trott
parent f120e6d817
commit 7333c7163a

View File

@ -1778,7 +1778,7 @@ added: v0.11.6
The raw request/response trailer keys and values exactly as they were
received. Only populated at the `'end'` event.
### message.setTimeout(msecs, callback)
### message.setTimeout(msecs[, callback])
<!-- YAML
added: v0.5.9
-->