public interface IWebhookRequestService
Methods View Source CreateAsync(Guid, String, Object)
Creates a webhook request.
DeclarationTask<WebhookRequest> CreateAsync(Guid webhookKey, string eventAlias, object payload)
Parameters Type Name Description Guid webhookKey
The key of the webhook.
System.String eventAliasThe alias of the event that is creating the request.
System.Object payloadThe payload you want to send with your request.
Returns View Source DeleteAsync(WebhookRequest)Deletes a webhook request
DeclarationTask DeleteAsync(WebhookRequest webhookRequest)
Parameters Type Name Description WebhookRequest webhookRequest
The webhook request to be deleted.
Returns Type Description Task A representing the asynchronous operation. View Source GetAllAsync()Gets all of the webhook requests in the current database.
DeclarationTask<IEnumerable<WebhookRequest>> GetAllAsync()
Returns View Source UpdateAsync(WebhookRequest)
Update a webhook request.
DeclarationTask<WebhookRequest> UpdateAsync(WebhookRequest webhookRequest)
Parameters Type Name Description WebhookRequest webhookRequest
The webhook request you want to update.
ReturnsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4