eview v0.2.1 EView

This plug will take body_params from Plug.Conn structure and re-render it with appropriate structure to resp_body.

What is appropriate structure? Take look at Nebo #15 API Manifest.

Example:

Add to your endpoint.ex before Plug.Parsers plug:

  plug EView
  plug EView.IdempotencyPlug

Summary

Functions

Callback implementation for Plug.call/2

Callback implementation for Plug.init/1

Functions

call(conn, options)
call(Conn.t, any) :: Conn.t

Callback implementation for Plug.call/2.

format_reponse(conn)
init(options)

Callback implementation for Plug.init/1.