Skip to content

Commit

Permalink
Merge pull request #2221 from calamarico/change_readme
Browse files Browse the repository at this point in the history
Adding a simple Response object reference in argument specification
  • Loading branch information
FredKSchott committed Feb 22, 2017
2 parents 60f6a00 + bebcd41 commit 6862553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -830,7 +830,7 @@ default in Linux can be anywhere from 20-120 seconds][linux-timeout]).
The callback argument gets 3 arguments:

1. An `error` when applicable (usually from [`http.ClientRequest`](http://nodejs.org/api/http.html#http_class_http_clientrequest) object)
2. An [`http.IncomingMessage`](https://nodejs.org/api/http.html#http_class_http_incomingmessage) object
2. An [`http.IncomingMessage`](https://nodejs.org/api/http.html#http_class_http_incomingmessage) object (Response object)
3. The third is the `response` body (`String` or `Buffer`, or JSON object if the `json` option is supplied)

[back to top](#table-of-contents)
Expand Down

0 comments on commit 6862553

Please sign in to comment.