Flowdock
method

new

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: WebSocket
new(env, event_target, event_loop, protocols: ActionCable::INTERNAL[:protocols]) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/connection/web_socket.rb, line 9
      def initialize(env, event_target, event_loop, protocols: ActionCable::INTERNAL[:protocols])
        @websocket = ::WebSocket::Driver.websocket?(env) ? ClientSocket.new(env, event_target, event_loop, protocols) : nil
      end
Register or log in to add new notes.