Skip to content

Commit

Permalink
doc: add hints to http.request() options
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Mar 13, 2021
1 parent 7296bcb commit 90a8e17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/http.md
Expand Up @@ -2810,6 +2810,7 @@ changes:
`hostname`. Valid values are `4` or `6`. When unspecified, both IP v4 and
v6 will be used.
* `headers` {Object} An object containing request headers.
* `hints` {number} Optional [`dns.lookup()` hints][].
* `host` {string} A domain name or IP address of the server to issue the
request to. **Default:** `'localhost'`.
* `hostname` {string} Alias for `host`. To support [`url.parse()`][],
Expand Down

0 comments on commit 90a8e17

Please sign in to comment.