You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undocumented "lookup" option in http.request / http.get #30171
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?
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