Flowdock
method

new

Importance_0
v5.1.7 - 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 7
      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.