Packages
A simple Plug to measure the runtime of a request. Results will be in the X-Runtime header.
Current section
Files
Jump to
Current section
Files
plug_runtime
README.md
README.md
# PlugRuntime
**TODO: Add description**
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add plug_runtime to your list of dependencies in `mix.exs`:
def deps do
[{:plug_runtime, "~> 0.0.1"}]
end
2. Ensure plug_runtime is started before your application:
def application do
[applications: [:plug_runtime]]
end