Table of Contents

Interface IHttpInteractionParser

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

Methods

ParseAsync(HttpContext)

Parses an incoming HTTP interaction request.

ValueTask<IInteraction?> ParseAsync(HttpContext context)

Parameters

context HttpContext

The HttpContext of the incoming request.

Returns

ValueTask<IInteraction>

A Task representing the asynchronous operation, containing the parsed interaction, if validation was successful; otherwise, null.