Module client
Client handshake machine.
Structs
- ClientHandshake Client handshake role.
Functions
-
generate_key
Generate a random key for the
Sec-WebSocket-Keyheader. - generate_request Verifies and generates a client WebSocket request from the original request and extracts a WebSocket key from it.