DripDrop.HttpHook (DripDrop v0.1.0)

Copy Markdown View Source

Stores an HTTP hook that sequence conditions can call during dispatch.

Hooks are scoped to a sequence, render their URL/body with template variables, and optionally extract a typed value from the response.

Summary

Functions

Builds a changeset for creating or updating an HTTP hook.

Functions

changeset(hook, attrs)

@spec changeset(Ecto.Schema.t(), map()) :: Ecto.Changeset.t()

Builds a changeset for creating or updating an HTTP hook.