Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
NotifyAllAsync ( IEnumerable |
||
NotifyAsync ( string user, IEnumerable |
||
VerifyWebHookAsync ( |
||
WebHookManager ( IWebHookStore webHookStore, IWebHookSender webHookSender, ILogger logger ) : System |
Initialize a new instance of the WebHookManager with a default retry policy.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources and optionally releases the managed resources.
|
|
VerifyEchoAsync ( |
Verifies the WebHook by submitting a GET request with a query token intended by the echoed back.
|
|
VerifySecret ( string secret ) : void |
Verifies that the WebHook secret is between 32 and 64 characters long.
|
|
VerifyUri ( |
Verifies that the webHookUri has either an 'http' or 'https' scheme.
|
Méthode | Description | |
---|---|---|
GetWorkItems ( ICollection |
||
WebHookManager ( IWebHookStore webHookStore, IWebHookSender webHookSender, ILogger logger, |
Initialize a new instance of the WebHookManager with the given httpClient. This constructor is intended for unit testing purposes.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public NotifyAllAsync ( IEnumerable |
||
notifications | IEnumerable |
|
predicate | Func |
|
Résultat | Task |
public NotifyAsync ( string user, IEnumerable |
||
user | string | |
notifications | IEnumerable |
|
predicate | Func |
|
Résultat | Task |
protected VerifyEchoAsync ( |
||
webHook | The |
|
Résultat | System.Threading.Tasks.Task |
protected VerifySecret ( string secret ) : void | ||
secret | string | The |
Résultat | void |
protected VerifyUri ( |
||
webHookUri | The URI to verify. | |
Résultat | void |
public VerifyWebHookAsync ( |
||
webHook | ||
Résultat | System.Threading.Tasks.Task |
public WebHookManager ( IWebHookStore webHookStore, IWebHookSender webHookSender, ILogger logger ) : System | ||
webHookStore | IWebHookStore | The current |
webHookSender | IWebHookSender | The current |
logger | ILogger | The current |
Résultat | System |