Skip to main content

run_proxy

Function run_proxy 

Source
pub async fn run_proxy<R: ToplevelRuntime>(
    runtime: R,
    socks_listen: Listen,
    dns_listen: Listen,
    protocols: ListenProtocols,
    config_sources: ConfigurationSources,
    arti_config: ArtiConfig,
    client_config: TorClientConfig,
) -> Result<()>
Expand description

Run the main loop of the proxy.

ยงPanics

Currently, might panic if things go badly enough wrong