@mxraven/mail - v0.6.0
    Preparing search index...

    Interface WebhookRequestParts

    Framework-independent request primitives.

    HTTP frameworks that do not use the Fetch API expose their request as separate fields; pass them to WebhookHandler.handle. The body must be the exact raw bytes of the request; a parsed JSON body cannot be verified.

    interface WebhookRequestParts {
        body: Uint8Array;
        headers: Headers | Record<string, string | readonly string[] | undefined>;
        method: string;
        url: string;
    }
    Index
    body: Uint8Array

    The exact raw request body.

    headers: Headers | Record<string, string | readonly string[] | undefined>

    The request headers.

    method: string

    The HTTP method, for example POST.

    url: string

    The public, absolute request URL, including any proxy-forwarded scheme and host.