Closed
Description
Hi there, is the lookup option for http.request intentionally undocumented? Sindre's got uses it but I'd want to know if it's stable or not since it's not documented?
lookup: () => {}, lookup: common.mustCall(errorLookupMock()) - https://github.com/szmarczak/cacheable-lookup
- https://nodejs.org/api/http.html#http_http_request_options_callback
Activity
lpinca commentedon Oct 31, 2019
Yes it's stable, it is forwarded to https://nodejs.org/api/net.html#net_socket_connect_options_connectlistener
davalapar commentedon Nov 1, 2019
awesome thank you!
i think it also defaults to https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback, correct?
this is amazing π π
doc: add lookup to http.request() options
doc: add lookup to http.request() options
doc: add lookup to http.request() options
doc: add lookup to http.request() options