method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 11
      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.