EView.Plugs.Idempotency (eview2 v0.15.2)

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.Plugs.Idempotency

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Link to this function

call(conn, options)

@spec call(Conn.t(), any()) :: Conn.t()

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.