C# Класс Microsoft.AspNet.WebHooks.GitHubWebHookReceiver

Provides an IWebHookReceiver implementation which supports WebHooks generated by GitHub. Set the 'MS_WebHookReceiverSecret_GitHub' application setting to the secret defined in GitHub. The corresponding WebHook URI is of the form 'https://<host>/api/webhooks/incoming/github'. For details about GitHub WebHooks, see https://developer.github.com/webhooks/.
Наследование: Microsoft.AspNet.WebHooks.WebHookReceiver
Показать файл Открыть проект

Открытые методы

Метод Описание
ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task

Защищенные методы

Метод Описание
VerifySignature ( string id, HttpRequestMessage request ) : System.Threading.Tasks.Task

Verifies that the signature header matches that of the actual body.

Описание методов

ReceiveAsync() публичный Метод

public ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task
id string
context System.Web.Http.Controllers.HttpRequestContext
request System.Net.Http.HttpRequestMessage
Результат Task

VerifySignature() защищенный Метод

Verifies that the signature header matches that of the actual body.
protected VerifySignature ( string id, HttpRequestMessage request ) : System.Threading.Tasks.Task
id string
request System.Net.Http.HttpRequestMessage
Результат System.Threading.Tasks.Task