Methods
(static) lookup(host, proxynullable, onionnullable) → {Promise}
Resolve host (getaddrinfo).
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
host |
String | ||
proxy |
String |
<nullable> |
|
onion |
Boolean |
<nullable> |
- Source:
Returns:
- Type
- Promise
(static) resolve(host, proxynullable, onionnullable) → {Promise}
Resolve host (no getaddrinfo).
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
host |
String | ||
proxy |
String |
<nullable> |
|
onion |
Boolean |
<nullable> |
- Source:
Returns:
- Type
- Promise