Expand description
Opening handshake helpers (RFC 6455 §4).
Functions§
- accept_
key - Computes
Sec-WebSocket-Acceptfor aSec-WebSocket-Key. - header_
has_ token trueif a comma-separated header value containstoken(case-insensitive).- valid_
client_ key - Validates a 16-byte base64
Sec-WebSocket-Key.