Method | 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.
|
Method | 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.
|
Method | 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 | |
return | void |
public NotifyAllAsync ( IEnumerable |
||
notifications | IEnumerable |
|
predicate | Func |
|
return | Task |
public NotifyAsync ( string user, IEnumerable |
||
user | string | |
notifications | IEnumerable |
|
predicate | Func |
|
return | Task |
protected VerifyEchoAsync ( |
||
webHook | The |
|
return | System.Threading.Tasks.Task |
protected VerifySecret ( string secret ) : void | ||
secret | string | The |
return | void |
protected VerifyUri ( |
||
webHookUri | The URI to verify. | |
return | void |
public VerifyWebHookAsync ( |
||
webHook | ||
return | 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 |
return | System |