Got at least one data fetching method working; turns out, we can't use a patched LogicStack to get the data

This commit is contained in:
2026-01-14 22:11:11 +01:00
parent 40a8431464
commit 3f7122d30a
350 changed files with 41444 additions and 119 deletions

View File

@@ -0,0 +1,20 @@
using System.Threading.Tasks;
namespace EmbedIO
{
/// <summary>
/// <para>Represents an object that can handle a HTTP context.</para>
/// <para>This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.</para>
/// </summary>
public interface IHttpContextHandler
{
/// <summary>
/// <para>Asynchronously handles a HTTP context, generating a suitable response
/// for an incoming request.</para>
/// <para>This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.</para>
/// </summary>
/// <param name="context">The HTTP context.</param>
/// <returns>A <see cref="Task"/> representing the ongoing operation.</returns>
Task HandleContextAsync(IHttpContextImpl context);
}
}