pub async fn run_socks_proxy<R: Runtime>(
    runtime: R,
    tor_client: TorClient<R>,
    socks_port: u16
) -> Result<()>
Available on crate feature experimental-api only.
Expand description

Launch a SOCKS proxy to listen on a given localhost port, and run indefinitely.

Requires a runtime to use for launching tasks and handling timeouts, and a tor_client to use in connecting over the Tor network.