Skip to main content

read_handshake

Function read_handshake 

Source
pub async fn read_handshake(stream: &mut TcpStream) -> Result<(), ProtocolError>
Expand description

Read and validate the 1-byte handshake response.