Class Rack::WebSocket::Handler::Base::Connection
In: lib/rack/websocket/handler/base/connection.rb
Parent: ::EventMachine::WebSocket::Connection

Methods

Public Class methods

Overwrite initialize from em-websocket set all standard options and disable EM connection inactivity timeout

Overwrite new from EventMachine we need to skip standard procedure called when socket is created - this is just a stub

Public Instance methods

Overwrite close_connection from EventMachine delegate close_connection to rack server

Overwrite dispath from em-websocket we already have request headers parsed so we can skip it and call build_with_request

Overwrite send_data from EventMachine delegate send_data to rack server

Overwrite triggers from em-websocket

[Validate]