dispatchWebhook
function dispatchWebhook(options: DispatchWebhookOptions): Promise<DispatchWebhookResult>;Defined in: src/mft/webhooks.ts:106
Dispatches a single webhook payload with bounded retries.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | DispatchWebhookOptions | Target, payload, fetch impl, retry policy, abort signal. |
Returns
Section titled “Returns”Promise<DispatchWebhookResult>
The delivery outcome.
Throws
Section titled “Throws”ConfigurationError When the target URL is not absolute or
uses cleartext http: without allowInsecureUrl: true.