View Source GlificWeb.Misc.BodyReader (Glific v5.1.6)

Code to cache the raw body in a conn variable before being processed by Phoenix. Used to validate the signature

Link to this section Summary

Functions

Store the raw body in the conn assigns array

Link to this section Functions

Link to this function

cache_raw_body(conn, opts)

View Source
@spec cache_raw_body(Plug.Conn.t(), Keyword.t()) :: tuple()

Store the raw body in the conn assigns array