send_challenge

Function send_challenge 

Source
pub async fn send_challenge(
    send: &mut SendStream,
    challenge: &ZoeChallenge,
) -> Result<()>
Expand description

Sends a challenge to the client over the stream

Serializes the challenge using postcard and sends it with a length prefix.

ยงArguments

  • send - Stream to send the challenge on
  • challenge - Challenge to send