module Headers

Nested Classes and Modules

module Nounce

Provides utilities for generating and verifying the WebSocket handshake nonce.

Definitions

PROTOCOL = "websocket"

The protocol string used for the upgrade: header (HTTP/1) and :protocol pseudo-header (HTTP/2).

SEC_WEBSOCKET_PROTOCOL = "sec-websocket-protocol"

The WebSocket protocol header, used for application level protocol negotiation.

SEC_WEBSOCKET_VERSION = "sec-websocket-version"

The WebSocket version header. Used for negotiating binary protocol version.