true if the resolution was successfully queued.DnsResolver.resolve
bool resolve(scope const(char)[] hostname, EventLoop.DnsWatcherCallback callback, CancelToken cancel = CancelToken
.invalid) @trustedAsynchronously resolve a hostname.
Parameters
hostname | Hostname to resolve (e.g., "google.com"). |
callback | Callback invoked when resolution completes. |
cancel | Optional cancellation token. |