async fn client_resolve_with_prefs<R: Runtime>(
client: Arc<TorClient<R>>,
method: Box<ResolveWithPrefs>,
_ctx: Arc<dyn Context>,
) -> Result<Vec<IpAddr>, Box<dyn ClientConnectionError>>
Available on crate feature
rpc
only.Expand description
RPC method implementation: perform a remote DNS lookup using a TorClient
.