Flowdock
method

hijack_rack_socket

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Stream
hijack_rack_socket() 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/stream.rb, line 98
      def hijack_rack_socket
        return unless @socket_object.env["rack.hijack"]

        @socket_object.env["rack.hijack"].call
        @rack_hijack_io = @socket_object.env["rack.hijack_io"]

        @event_loop.attach(@rack_hijack_io, self)
      end
Register or log in to add new notes.