Module caesar_core::sender::client
source · Structs§
Constants§
- DELAY 🔒
Functions§
- on_chunk 🔒Asynchronously transfers the chunks of files to the receiver.
- Handles the create room packet.
- on_error 🔒Handles errors by returning a
Statuswith 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.
- Handles the incoming message from the WebSocket.
- Handle the progress packet.
- Starts the sender process.