Domain Detective

API Reference

Class

WebhookNotificationSender

Namespace DomainDetective.Monitoring
Assembly DomainDetective

Sends notifications via HTTP webhook.

Inheritance

  • Object
  • WebhookNotificationSender

Remarks

The message payload is sent as UTF-8 plain text to the configured URL.

Constructors

public WebhookNotificationSender(String url) #

Initializes a new instance of the WebhookNotificationSender class.

Parameters

url System.String requiredposition: 0

Methods

public virtual async Task SendAsync(String message, CancellationToken ct = null) #
Returns: Task

Executes the send async operation.

Parameters

message System.String requiredposition: 0
ct System.Threading.CancellationToken = null optionalposition: 1

Properties

public String Url { get; } #

Gets the url value.

{{ include "footer" }}