Class WebhookAlertChannel

Assembly: redb.Tsak.Core.dll

Generic webhook: POSTs the alert JSON to a configured URL. Covers Slack / Teams / Mattermost /
PagerDuty and any HTTP collector. Uses a plain — no route component,
no extra dependency.

public sealed class WebhookAlertChannel : IAlertChannel

Inheritance

Object→WebhookAlertChannel

Implements

Properties

IsEnabled

Whether this channel is turned on and fully configured.

public bool IsEnabled { get; }

Name

Short stable name, used in logs and the per-channel test result.

public string Name { get; }

Methods

SendAsync(AlertNotification, CancellationToken)

Delivers one alert. Implementations must throw on failure (the dispatcher isolates and

public Task SendAsync(AlertNotification alert, CancellationToken ct)

Constructors