Skip to content

Commit

Permalink
doc: fix type of http.request's agent option
Browse files Browse the repository at this point in the history
PR-URL: #9584
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
TimothyGu authored and silverwind committed Nov 15, 2016
1 parent ebff29f commit 20dc1fa
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 @@ -1518,7 +1518,7 @@ added: v0.3.6
* `headers` {Object} An object containing request headers.
* `auth` {String} Basic authentication i.e. `'user:password'` to compute an
Authorization header.
* `agent` {String} Controls [`Agent`][] behavior. When an Agent is used request will
* `agent` {http.Agent|Boolean} Controls [`Agent`][] behavior. When an Agent is used request will
default to `Connection: keep-alive`. Possible values:
* `undefined` (default): use [`http.globalAgent`][] for this host and port.
* `Agent` object: explicitly use the passed in `Agent`.
Expand Down

0 comments on commit 20dc1fa

Please sign in to comment.