WebSocket

WebSocket protocol implementation in Ruby This module does not provide a WebSocket server or client, but is made for using in http servers or clients to provide WebSocket support. @author Bernard "Imanel" Potocki @see github.com/imanel/websocket-ruby main repository

Constants

DEFAULT_VERSION

Default WebSocket version to use

ROOT
VERSION

Public Class Methods

max_frame_size() click to toggle source

Limit of frame size payload in bytes

# File lib/websocket.rb, line 18
def self.max_frame_size
  @max_frame_size ||= 20 * 1024 * 1024 # 20MB
end
max_frame_size=(val) click to toggle source

Set limit of frame size payload in bytes

# File lib/websocket.rb, line 23
def self.max_frame_size=(val)
  @max_frame_size = val
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.