C# Class Microsoft.AspNet.WebHooks.WebHookRegistrar

Provides an abstract base class implementation of IWebHookRegistrar. An IWebHookRegistrar implementation can be used to change, modify, or reject WebHook registrations as they are created or updated through the Controllers.WebHookRegistrationsController. This can for example be used to add filters to WebHook registrations enabling broadcast notifications or specific group notifications.
Inheritance: IWebHookRegistrar
Show file Open project: aspnet/WebHooks

Public Methods

Method Description
RegisterAsync ( HttpRequestMessage request, WebHook webHook ) : System.Threading.Tasks.Task

Method Details

RegisterAsync() public abstract method

public abstract RegisterAsync ( HttpRequestMessage request, WebHook webHook ) : System.Threading.Tasks.Task
request System.Net.Http.HttpRequestMessage
webHook WebHook
return System.Threading.Tasks.Task