'lookup' 事件
在找到主机之后创建连接之前触发。不可用于 Unix socket。
err
<Error> | <null> 错误对象。查看dns.lookup()
。address
<string> IP 地址。family
<string> | <null> 地址类型。查看dns.lookup()
。host
<string> 主机。
Emitted after resolving the host name but before connecting. Not applicable to Unix sockets.
err
<Error> | <null> The error object. Seedns.lookup()
.address
<string> The IP address.family
<string> | <null> The address type. Seedns.lookup()
.host
<string> The host name.