C# Class Microsoft.AspNet.WebHooks.WebHookHandler

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

Public Methods

Method Description
ExecuteAsync ( string receiver, WebHookHandlerContext context ) : System.Threading.Tasks.Task

Protected Methods

Method 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 method

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

WebHookHandler() protected method

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
return System.Threading.Tasks