$47 GRAYBYTE WORDPRESS FILE MANAGER $72

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.36
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/

HOME
Current File : /opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack//runtime.rb
module Rack
  # Sets an "X-Runtime" response header, indicating the response
  # time of the request, in seconds
  #
  # You can put it right before the application to see the processing
  # time, or before all the other middlewares to include time for them,
  # too.
  class Runtime
    def initialize(app, name = nil)
      @app = app
      @header_name = "X-Runtime"
      @header_name << "-#{name}" if name
    end

    FORMAT_STRING = "%0.6f"
    def call(env)
      start_time = clock_time
      status, headers, body = @app.call(env)
      request_time = clock_time - start_time

      if !headers.has_key?(@header_name)
        headers[@header_name] = FORMAT_STRING % request_time
      end

      [status, headers, body]
    end

    private

    if defined?(Process::CLOCK_MONOTONIC)
      def clock_time
        Process.clock_gettime(Process::CLOCK_MONOTONIC)
      end
    else
      def clock_time
        Time.now.to_f
      end
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 12.00 AM
root / root
0
auth
--
3 Mar 2024 10.53 PM
root / root
0755
backports
--
3 Mar 2024 10.53 PM
root / root
0755
handler
--
3 Mar 2024 10.53 PM
root / root
0755
multipart
--
3 Mar 2024 10.53 PM
root / root
0755
session
--
3 Mar 2024 10.53 PM
root / root
0755
utils
--
3 Mar 2024 10.53 PM
root / root
0755
body_proxy.rb
0.936 KB
5 Dec 2019 11.22 PM
root / root
0644
builder.rb
4.273 KB
5 Dec 2019 11.22 PM
root / root
0644
cascade.rb
1.338 KB
5 Dec 2019 11.22 PM
root / root
0644
chunked.rb
1.577 KB
5 Dec 2019 11.22 PM
root / root
0644
commonlogger.rb
2.282 KB
5 Dec 2019 11.22 PM
root / root
0644
conditionalget.rb
2.495 KB
5 Dec 2019 11.22 PM
root / root
0644
config.rb
0.37 KB
5 Dec 2019 11.22 PM
root / root
0644
content_length.rb
0.82 KB
5 Dec 2019 11.22 PM
root / root
0644
content_type.rb
0.654 KB
5 Dec 2019 11.22 PM
root / root
0644
deflater.rb
4.574 KB
5 Dec 2019 11.22 PM
root / root
0644
directory.rb
4.195 KB
5 Dec 2019 11.22 PM
root / root
0644
etag.rb
2.109 KB
5 Dec 2019 11.22 PM
root / root
0644
file.rb
4.089 KB
5 Dec 2019 11.22 PM
root / root
0644
handler.rb
3.249 KB
5 Dec 2019 11.22 PM
root / root
0644
head.rb
0.473 KB
5 Dec 2019 11.22 PM
root / root
0644
lint.rb
29.264 KB
5 Dec 2019 11.22 PM
root / root
0644
lobster.rb
1.972 KB
5 Dec 2019 11.22 PM
root / root
0644
lock.rb
0.587 KB
5 Dec 2019 11.22 PM
root / root
0644
logger.rb
0.349 KB
5 Dec 2019 11.22 PM
root / root
0644
methodoverride.rb
1.015 KB
5 Dec 2019 11.22 PM
root / root
0644
mime.rb
30.936 KB
5 Dec 2019 11.22 PM
root / root
0644
mock.rb
5.676 KB
5 Dec 2019 11.22 PM
root / root
0644
multipart.rb
1.141 KB
5 Dec 2019 11.22 PM
root / root
0644
nulllogger.rb
0.929 KB
5 Dec 2019 11.22 PM
root / root
0644
recursive.rb
1.733 KB
5 Dec 2019 11.22 PM
root / root
0644
reloader.rb
2.971 KB
5 Dec 2019 11.22 PM
root / root
0644
request.rb
12.59 KB
5 Dec 2019 11.22 PM
root / root
0644
response.rb
4.33 KB
5 Dec 2019 11.22 PM
root / root
0644
rewindable_input.rb
3.188 KB
5 Dec 2019 11.22 PM
root / root
0644
runtime.rb
0.938 KB
5 Dec 2019 11.22 PM
root / root
0644
sendfile.rb
5.184 KB
5 Dec 2019 11.22 PM
root / root
0644
server.rb
10.804 KB
5 Dec 2019 11.22 PM
root / root
0644
showexceptions.rb
11.699 KB
5 Dec 2019 11.22 PM
root / root
0644
showstatus.rb
3.457 KB
5 Dec 2019 11.22 PM
root / root
0644
static.rb
4.885 KB
5 Dec 2019 11.22 PM
root / root
0644
tempfile_reaper.rb
0.654 KB
5 Dec 2019 11.22 PM
root / root
0644
urlmap.rb
2.462 KB
5 Dec 2019 11.22 PM
root / root
0644
utils.rb
20.862 KB
5 Dec 2019 11.22 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF