Function async_tungstenite::handshake::handshake

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