instance method
hijacked?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
hijacked?(env, response)
No documentation comment.
Parameters
-
envreq -
responsereq
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