Protocol::WebSocket SourceProtocolWebSocketHeaders

module Headers

Nested

Definitions

PROTOCOL = "websocket".freeze

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

SEC_WEBSOCKET_PROTOCOL = 'sec-websocket-protocol'.freeze

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

SEC_WEBSOCKET_VERSION = 'sec-websocket-version'.freeze

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