websocket_server_check_handshake

Function websocket_server_check_handshake 

Source
pub fn websocket_server_check_handshake<P: IsA<Message>>(
    msg: &P,
    origin: Option<&str>,
    protocols: &[&str],
) -> Result<(), Error>