function sendWebhook
sendWebhook(
webhookUrl: string,
payload: WebhookPayload,
): Promise<WebhookDelivery>

Send one direct webhook request without blocking registration on failure.

Parameters

webhookUrl: string

Return Type

Promise<WebhookDelivery>

Usage

import { sendWebhook } from "doc.ts";