File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2065,6 +2065,7 @@ changes:
2065
2065
* ` hostname ` {string} Alias for ` host ` . To support [ ` url.parse() ` ] [ ] ,
2066
2066
` hostname ` will be used if both ` host ` and ` hostname ` are specified.
2067
2067
* ` localAddress ` {string} Local interface to bind for network connections.
2068
+ * ` lookup ` {Function} Custom lookup function. ** Default:** [ ` dns.lookup() ` ] [ ] .
2068
2069
* ` method ` {string} A string specifying the HTTP request method. ** Default:**
2069
2070
` 'GET' ` .
2070
2071
* ` path ` {string} Request path. Should include query string if any.
@@ -2227,6 +2228,7 @@ not abort the request or do anything besides add a `'timeout'` event.
2227
2228
[ `agent.createConnection()` ] : #http_agent_createconnection_options_callback
2228
2229
[ `agent.getName()` ] : #http_agent_getname_options
2229
2230
[ `destroy()` ] : #http_agent_destroy
2231
+ [ `dns.lookup()` ] : dns.html#dns_dns_lookup_hostname_options_callback
2230
2232
[ `'finish'` ] : #http_event_finish
2231
2233
[ `getHeader(name)` ] : #http_request_getheader_name
2232
2234
[ `http.Agent` ] : #http_class_http_agent
You can’t perform that action at this time.
0 commit comments