Module: Protocol::WebSocket::Headers
- Defined in:
- lib/protocol/websocket/headers.rb
Defined Under Namespace
Modules: Nounce
Constant Summary collapse
- PROTOCOL =
The protocol string used for the
upgrade:header (HTTP/1) and:protocolpseudo-header (HTTP/2). "websocket".freeze
- SEC_WEBSOCKET_PROTOCOL =
The WebSocket protocol header, used for application level protocol negotiation.
'sec-websocket-protocol'.freeze
- SEC_WEBSOCKET_VERSION =
The WebSocket version header. Used for negotiating binary protocol version.
'sec-websocket-version'.freeze
- SEC_WEBSOCKET_KEY =
'sec-websocket-key'.freeze
- SEC_WEBSOCKET_ACCEPT =
'sec-websocket-accept'.freeze
- SEC_WEBSOCKET_EXTENSIONS =
'sec-websocket-extensions'.freeze