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: #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 targos committed Oct 1, 2019
1 parent 3de1fc6 commit 6579b1a
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 @@ -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
-->
Expand Down

0 comments on commit 6579b1a

Please sign in to comment.