pub fn accept_key_from(sec_ws_key: impl AsRef<[u8]>) -> String
Expand description

Example

use web_socket::handshake::accept_key_from;
assert_eq!(accept_key_from("dGhlIHNhbXBsZSBub25jZQ=="), "s3pPLMBiTxaQ9kYGzzhZRbK+xOo=");