plug_require_header icon indicating copy to clipboard operation
plug_require_header copied to clipboard

An Elixir Plug for requiring and extracting a given header.

Results 2 plug_require_header issues
Sort by recently updated
recently updated
newest added

My use-case is pretty simple: I want to use webhooks with a secret key. Both parties know this value. And currently I write this code: ```elixir plug PlugRequireHeader, headers: [auth_token:...

- [ ] given an `atom` -> look up the `Plug.Conn.Status` code. - [ ] given an `integer` -> treat it as a status code. - [x] given a `function`...

enhancement