From 6579b1a547455320bcecf00645f5623b7ccecac7 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 d1a2b200f79c06..bce8c06db82faf 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])