summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-22 12:24:11 -0700
committerMichaƫl Zasso <targos@protonmail.com>2019-10-01 14:39:10 +0200
commit6579b1a547455320bcecf00645f5623b7ccecac7 (patch)
tree5d957c63404ce022c658edaf4c6a565908455e03
parent3de1fc695828ac2cbe5ff0208be4382b16be4296 (diff)
downloadnode-new-6579b1a547455320bcecf00645f5623b7ccecac7.tar.gz
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>
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index d1a2b200f7..bce8c06db8 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1770,7 +1770,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
-->