Function generate_key
pub fn generate_key() -> StringAvailable on crate features
ws and handshake only.Expand description
Generate a random key for the Sec-WebSocket-Key header.
pub fn generate_key() -> Stringws and handshake only.Generate a random key for the Sec-WebSocket-Key header.