Plack::Middleware::Runtime(3pm) User Contributed Perl Documentation Plack::Middleware::Runtime(3pm)

Plack::Middleware::Runtime - Sets an X-Runtime response header

  enable "Runtime";

Plack::Middleware::Runtime is a Plack middleware component that sets the application's response time (in seconds) in the X-Runtime HTTP response header.

Name of the header. Defaults to X-Runtime.

Tatsuhiko Miyagawa

Time::HiRes Rack::Runtime

2024-01-20 perl v5.38.2