Skip to main content

handshake

Function handshake 

Source
async fn handshake(
    stream: &mut TcpStream,
    hs: HandshakeState,
) -> Result<TransportState, NetworkError>
Expand description

Perform a noise handshake as initiator with the remote party.