fn on_handshake(
    context: &mut Context,
    handshake_response: HandshakeResponsePacket
) -> Status
Expand description

Handles the handshake response packet received from the receiver.

§Arguments

  • context - The mutable context holding the sender, files, and shared key.
  • handshake_response - The handshake response packet received from the receiver.

§Returns

A Status indicating the success or failure of the handshake.