Module: Protocol::WebSocket
- Defined in:
- lib/protocol/websocket/error.rb,
lib/protocol/websocket/frame.rb,
lib/protocol/websocket/framer.rb,
lib/protocol/websocket/headers.rb,
lib/protocol/websocket/message.rb,
lib/protocol/websocket/version.rb,
lib/protocol/websocket/connection.rb,
lib/protocol/websocket/extensions.rb,
lib/protocol/websocket/ping_frame.rb,
lib/protocol/websocket/pong_frame.rb,
lib/protocol/websocket/text_frame.rb,
lib/protocol/websocket/close_frame.rb,
lib/protocol/websocket/binary_frame.rb,
lib/protocol/websocket/json_message.rb,
lib/protocol/websocket/continuation_frame.rb,
lib/protocol/websocket/extension/compression.rb,
lib/protocol/websocket/extension/compression/deflate.rb,
lib/protocol/websocket/extension/compression/inflate.rb,
lib/protocol/websocket/extension/compression/constants.rb
Defined Under Namespace
Modules: Extension, Extensions, Headers Classes: BinaryFrame, BinaryMessage, CloseFrame, ClosedError, Connection, ContinuationFrame, Error, Frame, FrameSizeError, Framer, JSONMessage, Message, PingFrame, PongFrame, ProtocolError, TextFrame, TextMessage
Constant Summary collapse
- FRAMES =
HTTP/2 frame type mapping as defined by the spec.
{ 0x0 => ContinuationFrame, 0x1 => TextFrame, 0x2 => BinaryFrame, 0x8 => CloseFrame, 0x9 => PingFrame, 0xA => PongFrame, }.freeze
- MAXIMUM_ALLOWED_FRAME_SIZE =
The maximum allowed frame size in bytes.
2**63
- VERSION =
"0.10.0"