Function derive_accept_key
pub fn derive_accept_key(request_key: &[u8]) -> StringAvailable on crate features
ws and handshake only.Expand description
Derive the Sec-WebSocket-Accept response header from a Sec-WebSocket-Key request header.
This function can be used to perform a handshake before passing a raw TCP stream to
WebSocket::from_raw_socket.