GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add hints to http.request() options · nodejs/node@5f2da5a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • http.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,7 @@ changes:
23772377
`hostname`. Valid values are `4` or `6`. When unspecified, both IP v4 and
23782378
v6 will be used.
23792379
* `headers` {Object} An object containing request headers.
2380+
* `hints` {number} Optional [`dns.lookup()` hints][].
23802381
* `host` {string} A domain name or IP address of the server to issue the
23812382
request to. **Default:** `'localhost'`.
23822383
* `hostname` {string} Alias for `host`. To support [`url.parse()`][],
@@ -2687,6 +2688,7 @@ try {
26872688
[`agent.getName()`]: #http_agent_getname_options
26882689
[`destroy()`]: #http_agent_destroy
26892690
[`dns.lookup()`]: dns.md#dns_dns_lookup_hostname_options_callback
2691+
[`dns.lookup()` hints]: dns.md#dns_supported_getaddrinfo_flags
26902692
[`getHeader(name)`]: #http_request_getheader_name
26912693
[`http.Agent`]: #http_class_http_agent
26922694
[`http.ClientRequest`]: #http_class_http_clientrequest

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.