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


Plack documentation  | view source Contained in the Plack distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  enable "Runtime";

DESCRIPTION

Top

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

OPTIONS

Top

header_name

Name of the header. Defaults to X-Runtime.

AUTHOR

Top

Tatsuhiko Miyagawa

SEE ALSO

Top

Time::HiRes Rack::Runtime


Plack documentation  | view source Contained in the Plack distribution.