Function tungstenite::handshake::client::generate_request
source ยท pub fn generate_request(request: Request) -> Result<(Vec<u8>, String)>
Expand description
Verifies and generates a client WebSocket request from the original request and extracts a WebSocket key from it.