select_gateway

Function select_gateway 

Source
pub(crate) async fn select_gateway(
    gateways: Vec<SafeUrl>,
    federation_id: FederationId,
    gateway_conn: &RealGatewayConnection,
) -> Result<(RoutingInfo, SafeUrl)>