eview v0.5.0 EView.IdempotencyPlug
This Plug allows to take X-Idempotency-Key
header from request and sent it back to client.
Examples
Modify your endpoint.ex
and add before plug MyApp.Router
:
plug EView.IdempotencyPlug
Summary
Functions
Callback implementation for Plug.call/2
.
Callback implementation for Plug.init/1
.