method
call
v6.0.0 -
Show latest stable
- Class:
ActionDispatch::Executor
call(env)public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/executor.rb, line 11
def call(env)
state = @executor.run!
begin
response = @app.call(env)
returned = response << ::Rack::BodyProxy.new(response.pop) { state.complete! }
ensure
state.complete! unless returned
end
end