Skip to main content

handshake

Function handshake 

Source
pub async fn handshake(
    framed: &mut Framed<UnixStream, FrameCodec>,
) -> Result<u16>
Expand description

Perform a protocol version handshake with the server.

Sends Hello with our PROTOCOL_VERSION, expects HelloAck with the negotiated version (min of client and server).