Skip to content

attemptDelivery

function attemptDelivery(input): Promise<AttemptOutcome>;

Defined in: src/deliver.ts:116

Perform one signed POST to endpoint.url. Never throws for remote-party failures — network errors, timeouts, and non-2xx responses all come back as a failed AttemptOutcome. (It does throw on programmer error, e.g. an endpoint with no unexpired secret.)

Parameter Type
input AttemptDeliveryInput

Promise<AttemptOutcome>