Skip to main content

connect

Function connect 

Source
pub async fn connect(
    control_url: &Url,
    machine_keys: &MachineKeyPair,
) -> Result<Http2<BytesBody>, ConnectionError>
Expand description

Establish a connection to the control server.

Does not make use of use ControlDialer and so should not be used for long-duration connections that may need to reconnect (e.g. listening for netmap changes).