Module EventMachine::WebSocket::Framing76
In: lib/em-websocket/framing76.rb

Methods

Constants

MAXIMUM_FRAME_LENGTH = 10 * 1024 * 1024   Set the max frame lenth to very high value (10MB) until there is a limit specified in the spec to protect against malicious attacks

Public Instance methods

frames need to start with 0x00-0x7f byte and end with an 0xFF byte. Per spec, we can also set the first byte to a value betweent 0x80 and 0xFF, followed by a leading length indicator

[Validate]