API Reference
Class
WebhookNotificationSender
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
Methods
public virtual async Task SendAsync(String message, CancellationToken ct = null) #Returns:
TaskExecutes the send async operation.
Parameters
- message System.String
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object