8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
agent
1 parent 3689813 commit fd75b25Copy full SHA for fd75b25
doc/api/http.md
@@ -1529,7 +1529,7 @@ added: v0.3.6
1529
* `headers` {Object} An object containing request headers.
1530
* `auth` {String} Basic authentication i.e. `'user:password'` to compute an
1531
Authorization header.
1532
- * `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
1533
default to `Connection: keep-alive`. Possible values:
1534
* `undefined` (default): use [`http.globalAgent`][] for this host and port.
1535
* `Agent` object: explicitly use the passed in `Agent`.
0 commit comments