tungstenite::handshake::client

Function generate_key

Source
pub fn generate_key() -> String
Expand description

Generate a random key for the Sec-WebSocket-Key header.