process_sec_websocket_key

Function process_sec_websocket_key 

Source
pub fn process_sec_websocket_key(key: &str) -> [u8; 28]
Expand description

Changes key (input) that is retreived by server from Sec-WebSocket-Key into another string that is then sent by server as Sec-WebSocket-Accept header

Can be also used by client to verify accept header