Interface DeliveryRequest

One delivery as the send makes it.

interface DeliveryRequest {
    url: string;
    headers: Record<string, string>;
    body: string;
    timeoutMs: number;
    signal?: AbortSignal;
}

Properties

url: string

The destination's https url.

headers: Record<string, string>

The envelope's headers; httpsSend adds the content type and length.

body: string

The body, exactly as it was signed.

timeoutMs: number

The deadline over the whole post, in milliseconds.

signal?: AbortSignal

A fence aborts DNS-waiting and socket-waiting sends. Custom senders must honor it before writing bytes.