receive_challenge

Function receive_challenge 

Source
async fn receive_challenge(recv: &mut RecvStream) -> Result<ZoeChallenge>
Expand description

Receives a challenge from the server

Reads the challenge with length prefix and deserializes it.

§Arguments

  • recv - Stream to receive the challenge from

§Returns

The parsed challenge from the server