pub fn hash_key(key: &[u8]) -> Result<String, HandshakeError>Expand description
Computes the Sec-WebSocket-Accept value for a client handshake key.
ยงErrors
Returns HandshakeError::BadWebsocketKey when key is longer than
32 bytes.
pub fn hash_key(key: &[u8]) -> Result<String, HandshakeError>Computes the Sec-WebSocket-Accept value for a client handshake key.
Returns HandshakeError::BadWebsocketKey when key is longer than
32 bytes.