ZoonkWeb.ParsersWithRawBody (Zoonk v0.1.0-dev)
View SourceA Plug that keeps the raw body of incoming requests.
This is useful for webhooks where we need to keep the raw body around allowing us to calculate signatures.
This plug replaces the default's body reader in Plug.Parsers
.
Forked from the Dashbit blog.
Summary
Functions
Callback implementation for Plug.call/2
.
Callback implementation for Plug.init/1
.