Function is_bridge_online

Source
async fn is_bridge_online(
    bridge_config: &BridgeConfig,
    tor_client: &TorClient<PreferredRuntime>,
) -> Result<Arc<Channel>, Error>
Expand description

Attempt to create a Channel to a provided bridge

If successful, we will obtain a Channel, if not we get an error.

The channel is created using tor_chanmgr::ChanMgr, accessed using TorClient::chanmgr()