---
name: "Plack::Middleware::Runtime"
section: "3pm"
platform: "linux"
package: "libplack-perl"
version: "1.0051-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Plack::Middleware::Runtime"
---

# Plack::Middleware::Runtime(3pm)

Sets an X-Runtime response header

## NAME

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

## SYNOPSIS

```
  enable "Runtime";
```

## DESCRIPTION

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

## OPTIONS

- header\_name

  Name of the header. Defaults to *X-Runtime*.

## AUTHOR

Tatsuhiko Miyagawa

## SEE ALSO

Time::HiRes Rack::Runtime
