network_start

Function network_start 

Source
pub async fn network_start(
    node: NodeConfig,
    connection: ConnectionConfig,
) -> Result<Network, NetworkSetupError>
Expand description

Starts a new connection to the signalling server using the node- and connection-configuration. It returns a user-friendly API that can be used to send and receive messages. If you want to connect the network with other brokers, then use the network_broker_start method.