Skip to content

DapperMaticWebhookOptions ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

How webhooks' messages are sent.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (6)

Constructors ​

DapperMaticWebhookOptions ​

csharp
DapperMaticWebhookOptions()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Enabled ​

Gets or sets a value indicating whether this server sends messages: its background worker runs. Off on servers that only take requests, when others send; changes are noted either way.

Type: bool

PollInterval ​

Gets or sets how often the changes noted are looked at.

Type: TimeSpan

Timeout ​

Gets or sets how long an address has to answer.

Type: TimeSpan

MaxAttempts ​

Gets or sets how many times a message is tried before it is dropped and the next one sent: the waits between grow from 2 seconds to an hour.

Type: int

Retention ​

Gets or sets how long changes are kept in the datasource, sent or not.

Type: TimeSpan

AllowPrivateAddresses ​

Gets or sets a value indicating whether webhooks kept through the API may post to loopback, private, link-local and other internal addresses. Off: an API caller must not reach the servers' own network. Webhooks given in code or configuration may always.

Type: bool