Protocol::WebSocket SourceProtocolWebSocket

module WebSocket

Nested

Definitions

FRAMES

HTTP/2 frame type mapping as defined by the spec.

Implementation

FRAMES = {
	0x0 => ContinuationFrame,
	0x1 => TextFrame,
	0x2 => BinaryFrame,
	0x8 => CloseFrame,
	0x9 => PingFrame,
	0xA => PongFrame,
}.freeze

MAXIMUM_ALLOWED_FRAME_SIZE = 2**63

The maximum allowed frame size in bytes.