Function caesar_core::sender::client::on_chunk
source · async fn on_chunk(
sender: Sender,
shared_key: Option<Aes128Gcm>,
files: Vec<File>
)Expand description
Asynchronously transfers the chunks of files to the receiver.
§Arguments
sender- The sender object used to send packets.shared_key- The shared key used for encryption.files- The list of files to be transferred.