We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
agent
1 parent 34c8b0b commit 89216a4Copy full SHA for 89216a4
doc/api/http.md
@@ -1518,7 +1518,7 @@ added: v0.3.6
1518
* `headers` {Object} An object containing request headers.
1519
* `auth` {String} Basic authentication i.e. `'user:password'` to compute an
1520
Authorization header.
1521
- * `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
1522
default to `Connection: keep-alive`. Possible values:
1523
* `undefined` (default): use [`http.globalAgent`][] for this host and port.
1524
* `Agent` object: explicitly use the passed in `Agent`.
0 commit comments