class Rack::Doge::End

Public Instance Methods

call(env) click to toggle source

This middleware should run as late in the stack as possible.

# File lib/doge/end.rb, line 5
def call(env)
  env["RACK_IN_END"] = time_ms
  status, headers, response = @app.call(env)
  env["RACK_OUT_START"] = time_ms
  [status, headers, response]
end