pub fn standard_handshake_resp_check(
    key: &[u8],
    resp: &Response<()>
) -> Result<(), WsError>
Expand description

perform standard protocol handshake response check

  1. check status code
  2. check sec-websocket-accept header & value