Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IWebhookFiringService

    Service for firing webhooks in response to events.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IWebhookFiringService

    Methods

    View Source

    FireAsync(IWebhook, string, object?, CancellationToken)

    Fires a webhook asynchronously.

    Declaration
    Task FireAsync(IWebhook webhook, string eventAlias, object? payload, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IWebhook webhook

    The IWebhook to fire.

    string eventAlias

    The alias of the event that triggered the webhook.

    object payload

    The payload to send with the webhook request.

    CancellationToken cancellationToken

    A cancellation token to cancel the operation.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX