cobwebhook v0.4.0 Cobwebhook.Slack
Link to this section Summary
Functions
Callback implementation for Plug.call/2
Callback implementation for Plug.init/1
Parse trusted body into params
Check if request was signed with the given secret
Link to this section Functions
Link to this function
call(conn, secrets_getter)
call(Plug.Conn.t(), (() -> Cobwebhook.Adapter.secrets())) :: Plug.Conn.t()
Callback implementation for Plug.call/2
.
Link to this function
init(secrets_getter)
init((() -> Cobwebhook.Adapter.secrets())) :: (() -> Cobwebhook.Adapter.secrets())
Callback implementation for Plug.init/1
.
Link to this function
parse(conn, body)
Parse trusted body into params.
Callback implementation for Cobwebhook.Adapter.parse/2
.
Link to this function
verify(conn, body, secret)
Check if request was signed with the given secret.
Callback implementation for Cobwebhook.Adapter.verify/3
.