class Rack::Timing::Start
Public Instance Methods
call(env)
click to toggle source
This rack should run as early in the stack as possible.
# File lib/timing/start.rb, line 6 def call(env) env["RACK_IN_START"] = time_ms status, headers, response = @app.call(env) env["RACK_OUT_END"] = time_ms [status, headers, response] end