Clova v0.5.0 Clova.CachingBodyReader View Source
This module provides a wrapper of Plug.Conn.read_body/2
that also stores the original raw request
body in the :raw_body
assign. This is required to validate the request signature.
The Clova.ValidatorPlug
module provides request validation using this module.
Link to this section Summary
Functions
Wraps Plug.Conn.read_body/2
, caching the result in the :raw_body
assign
The specification of this module’s read_body/2
function for providing to Plug.Parsers
’
body_reader
option
Link to this section Functions
Wraps Plug.Conn.read_body/2
, caching the result in the :raw_body
assign.
The specification of this module’s read_body/2
function for providing to Plug.Parsers
’
body_reader
option.