summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-22 12:24:11 -0700
committerRich Trott <rtrott@gmail.com>2019-09-24 22:54:25 -0700
commit7333c7163abdf58ffddb8dcbd3f0b43ad1885fdc (patch)
treed95d16fe2ea7615dc6029b0f16163c2913564538 /doc
parentf120e6d8177f1a982045bdc7df961a1926f3f8c1 (diff)
downloadandroid-node-v8-7333c7163abdf58ffddb8dcbd3f0b43ad1885fdc.tar.gz
android-node-v8-7333c7163abdf58ffddb8dcbd3f0b43ad1885fdc.tar.bz2
android-node-v8-7333c7163abdf58ffddb8dcbd3f0b43ad1885fdc.zip
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>
Diffstat (limited to 'doc')
-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 2f51e2473a..5179252cb2 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -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
-->