instance method hijacked?

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

hijacked?(env, response)

No documentation comment.

Parameters

env req
response req
Source
# File actionpack/lib/action_dispatch/middleware/executor.rb, line 58
      def hijacked?(env, response)
        return false unless response

        env["rack.hijack_io"] || response.first == 101
      end

Defined in actionpack/lib/action_dispatch/middleware/executor.rb line 58 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Executor

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close