Inngest.HTTPClient behaviour (Inngest v0.3.0)

Copy Markdown View Source

Behaviour for outbound HTTP requests made by the SDK.

Adapters are intentionally transport-only. Inngest-specific concerns such as signing keys, fallback retry, event payload mutation, and response semantics stay in Inngest.Client so all adapters behave consistently.

Summary

Callbacks

request(t)

@callback request(Inngest.HTTPClient.Request.t()) ::
  {:ok, Inngest.HTTPClient.Response.t()} | {:error, term()}