Module caesar_core::sender::client

source ·

Structs§

  • Context 🔒
    The context of a sender.
  • File 🔒
    Struct representing a file to be sent.

Constants§

Functions§

  • on_chunk 🔒
    Asynchronously transfers the chunks of files to the receiver.
  • Handles the create room packet.
  • on_error 🔒
    Handles errors by returning a Status with the error message.
  • Handles the handshake response packet received from the receiver.
  • Finalizes the handshake by sending the list of files to the receiver and starting the file transfer task.
  • Handle the join room packet.
  • Handle the leave room packet.
  • on_message 🔒
    Handles the incoming message from the WebSocket.
  • Handle the progress packet.
  • Starts the sender process.