Skip to main content

connect_transport_site

Function connect_transport_site 

Source
pub fn connect_transport_site(
    cx: &mut Cx,
    address: ServerAddress,
    offered_codecs: Vec<Symbol>,
) -> Result<(Arc<dyn EvalSite>, Symbol)>
Expand description

Connects to address and returns the eval site plus negotiated codec.

Loopback fallback is disabled; see connect_transport_site_with_loopback.