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 @@ -2133,6 +2133,7 @@ changes:
2133
2133
* ` hostname ` {string} Alias for ` host ` . To support [ ` url.parse() ` ] [ ] ,
2134
2134
` hostname ` will be used if both ` host ` and ` hostname ` are specified.
2135
2135
* ` localAddress ` {string} Local interface to bind for network connections.
2136
+ * ` lookup ` {Function} Custom lookup function. ** Default:** [ ` dns.lookup() ` ] [ ] .
2136
2137
* ` method ` {string} A string specifying the HTTP request method. ** Default:**
2137
2138
` 'GET' ` .
2138
2139
* ` path ` {string} Request path. Should include query string if any.
@@ -2312,6 +2313,7 @@ not abort the request or do anything besides add a `'timeout'` event.
2312
2313
[ `agent.createConnection()` ] : #http_agent_createconnection_options_callback
2313
2314
[ `agent.getName()` ] : #http_agent_getname_options
2314
2315
[ `destroy()` ] : #http_agent_destroy
2316
+ [ `dns.lookup()` ] : dns.html#dns_dns_lookup_hostname_options_callback
2315
2317
[ `'finish'` ] : #http_event_finish
2316
2318
[ `getHeader(name)` ] : #http_request_getheader_name
2317
2319
[ `http.Agent` ] : #http_class_http_agent
You can’t perform that action at this time.
0 commit comments