Table of Contents

Interface IWebhookEventParser

Namespace
NetCord.Hosting.AspNetCore
Assembly
NetCord.Hosting.AspNetCore.dll
public interface IWebhookEventParser

Methods

ParseAsync(HttpContext)

Parses an incoming webhook event request.

ValueTask<IWebhookEventArgs?> ParseAsync(HttpContext context)

Parameters

context HttpContext

The HttpContext of the incoming request.

Returns

ValueTask<IWebhookEventArgs>

A Task representing the asynchronous operation, containing the parsed webhook event data.