async fn client_connect_with_prefs<R: Runtime>(
client: Arc<TorClient<R>>,
method: Box<ConnectWithPrefs>,
_ctx: Arc<dyn Context>,
) -> Result<DataStream, Box<dyn ClientConnectionError>>
Available on crate feature
rpc
only.Expand description
RPC method implementation: start a connection on a TorClient
.