Function arti::run

source · []
pub async fn run<R: Runtime>(
    runtime: R,
    socks_port: u16,
    dns_port: u16,
    config_sources: ConfigurationSources,
    arti_config: ArtiConfig,
    client_config: TorClientConfig
) -> Result<()>
Available on crate feature experimental-api only.
Expand description

Run the main loop of the proxy.

Panics

Currently, might panic if things go badly enough wrong