Function web_socket::handshake::accept_key_from
source · pub fn accept_key_from(sec_ws_key: impl AsRef<[u8]>) -> StringExpand description
Example
use web_socket::handshake::accept_key_from;
assert_eq!(accept_key_from("dGhlIHNhbXBsZSBub25jZQ=="), "s3pPLMBiTxaQ9kYGzzhZRbK+xOo=");