pub async fn start_sender(
    name: String,
    relay: Arc<String>,
    files: Arc<Vec<String>>
)
Expand description

Start the sender process.

This function starts the sender process which connects to a relay and initiates file transfers. The sender also starts a local WebSocket server.

§Arguments

  • name - The name of the sender.
  • relay - The relay to connect to.
  • files - The files to transfer.