Interface IWebhooks
Defines a system for working with webhook registrations for the Kernel.
public interface IWebhooks
Methods
Register(WebhookId, WebhookTargetUrl, Action<IWebhookDefinitionBuilder>)
Registers a webhook.
Task Register(WebhookId webhookId, WebhookTargetUrl targetUrl, Action<IWebhookDefinitionBuilder> configure)
Parameters
webhookIdWebhookIdThe WebhookId of the webhook to register.
targetUrlWebhookTargetUrlThe WebhookTargetUrl.
configureAction<IWebhookDefinitionBuilder>The Action<T> for configuring the WebhookDefinition.
Returns
- Task
Awaitable task.