Skip to content

AttemptDeliveryInput

Defined in: src/deliver.ts:21

Input to attemptDelivery.

Property Type Description Defined in
body string The serialized envelope body, exactly as stored at publish time. src/deliver.ts:26
endpoint Endpoint - src/deliver.ts:22
fetch? typeof fetch Injectable fetch (tests, instrumentation). Default: global fetch. src/deliver.ts:34
messageId string The webhook-id header — the message id (stable across retries). src/deliver.ts:24
nowMs? number Unix millis of the attempt; defaults to Date.now(). src/deliver.ts:36
responseBodyLimit? number Cap on stored response-body characters. Default 4096. src/deliver.ts:30
timeoutMs? number Per-attempt timeout (AbortController). Default 20s. src/deliver.ts:28
userAgent? string user-agent header value. src/deliver.ts:32