async_tungstenite::handshake

Function handshake

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