Type Alias soketto::handshake::WebSocketKey
source ยท pub type WebSocketKey = [u8; 24];
Expand description
Owned value of the Sec-WebSocket-Key
header.
Per RFC 6455:
(...) The value of this header field MUST be a
nonce consisting of a randomly selected 16-byte value that has
been base64-encoded (see Section 4 of [RFC4648]). (...)
Base64 encoding of the nonce produces 24 ASCII bytes, padding included.