From 7333c7163abdf58ffddb8dcbd3f0b43ad1885fdc Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Sun, 22 Sep 2019 12:24:11 -0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater --- doc/api/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.md b/doc/api/http.md index 2f51e2473aa188..5179252cb2329c 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])