Skip to content

Commit

Permalink
doc,http: indicate callback is optional for message.setTimeout()
Browse files Browse the repository at this point in the history
Documents that callback is optional for IncomingMessage setTimeout

PR-URL: nodejs#29654
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
trivikr authored and Trott committed Sep 25, 2019
1 parent f120e6d commit 7333c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
Expand Down

0 comments on commit 7333c71

Please sign in to comment.