Receivex v0.7.0 Receivex.Adapter behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback handle_webhook(conn, handler, opts) View Source
handle_webhook(conn :: Plug.Conn.t(), handler :: Atom.t(), opts :: []) ::
  {:ok, conn :: Plug.Conn.t()} | {:error, conn :: Plug.Conn.t(), String.t()}
Link to this callback normalize_params(email) View Source
normalize_params(email :: any()) :: Receivex.Email.t() | nil
Link to this callback parse_request(conn) View Source
parse_request(conn :: Plug.Conn.t()) :: conn :: Plug.Conn.t()