View Source Webhoox.Adapter behaviour (Webhoox v0.1.8)
Behaviour for handling webhooks
Link to this section Summary
Link to this section Callbacks
@callback handle_webhook(conn :: Plug.Conn.t(), handler :: Atom.t(), opts :: []) :: {:ok, conn :: Plug.Conn.t()} | {:ok, conn :: Plug.Conn.t(), map()} | {:error, conn :: Plug.Conn.t(), String.t()} | {:error, conn :: Plug.Conn.t(), String.t(), map()}