Sha256: 7ea3979fc526d5732a47845bf857c900e4523fc5c1735b187caa6abbc401aabc

Contents?: true

Size: 455 Bytes

Versions: 7

Compression:

Stored size: 455 Bytes

Contents

require 'addressable/uri'

module EventMachine
  module WebSocket
    class ClientConnection < EventMachine::WebSocket::Connection

      def initialize(options)
        super
        @handler = Handler08.new( self, options, options[:debug] )
        @handler.run_client
      end

      def dispatch(data)
        # server's handshake response
        @handler.client_handle_server_handshake_response(data)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sonixlabs-em-websocket-0.5.1.5 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.5.1.4 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.5.1.3 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.5.1.2 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.5.1.1 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.3.8 lib/em-websocket/client_connection.rb
sonixlabs-em-websocket-0.3.7 lib/em-websocket/client_connection.rb