Function build_circuit

Source
pub(crate) async fn build_circuit(
    tor_client: &TorClient<PreferredRuntime>,
    remote: &str,
) -> Result<()>
Expand description

Connect to a sample host and print the path it used to get there. Note that due to the way Tor works, other requests may use a different path than the one we obtain using this function, so this is mostly for demonstration purposes.