method

connect

connect()
private

No documentation available.

# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 37
        def connect
          return if @faye
          @faye = Faye::WebSocket.new(@env, @protocols)

          @faye.on(:open)    { |event| @event_target.on_open }
          @faye.on(:message) { |event| @event_target.on_message(event.data) }
          @faye.on(:close)   { |event| @event_target.on_close(event.reason, event.code) }
          @faye.on(:error)   { |event| @event_target.on_error(event.message) }
        end