async_tungstenite::handshake

Function handshake

Source
async fn handshake<Role, F, S>(
    stream: S,
    f: F,
) -> Result<Role::FinalResult, HandshakeError<Role>>