Skip to main content

Module accept_key

Module accept_key 

Source
Expand description

The Sec-WebSocket-Accept header of the WebSocket handshake.

Constantsยง

GUID ๐Ÿ”’
The GUID which RFC 6455 appends to the key of the client.

Functionsยง

accept_key ๐Ÿ”’
The value of the Sec-WebSocket-Accept header for the Sec-WebSocket-Key of a client, see RFC 6455, section 4.2.2: the base64 of the SHA-1 of the key and a fixed GUID.
sha1 ๐Ÿ”’
The SHA-1 digest of data, see RFC 3174.