C# Class Microsoft.AspNet.WebHooks.WebHookHandler

Provides an abstract IWebHookHandler implementation which can be used to base other implementations on.
Inheritance: IWebHookHandler
Afficher le fichier Open project: aspnet/WebHooks Class Usage Examples

Méthodes publiques

Méthode Description
ExecuteAsync ( string receiver, WebHookHandlerContext context ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
WebHookHandler ( ) : System.Threading.Tasks

Initializes a new instance of the WebHookHandler class with a default Order of 50 and by default accepts WebHooks from all receivers. To limit which receiver this IWebHookHandler will receive WebHook requests from, set the Receiver property to the name of that receiver.

Method Details

ExecuteAsync() public abstract méthode

public abstract ExecuteAsync ( string receiver, WebHookHandlerContext context ) : System.Threading.Tasks.Task
receiver string
context WebHookHandlerContext
Résultat System.Threading.Tasks.Task

WebHookHandler() protected méthode

Initializes a new instance of the WebHookHandler class with a default Order of 50 and by default accepts WebHooks from all receivers. To limit which receiver this IWebHookHandler will receive WebHook requests from, set the Receiver property to the name of that receiver.
protected WebHookHandler ( ) : System.Threading.Tasks
Résultat System.Threading.Tasks