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,13 @@
using System.Threading.Tasks;
namespace EmbedIO
{
/// <summary>
/// A callback used to deserialize an HTTP request body.
/// </summary>
/// <typeparam name="TData">The expected type of the deserialized data.</typeparam>
/// <param name="context">The <see cref="IHttpContext"/> whose request body is to be deserialized.</param>
/// <returns>A <see cref="Task{TResult}">Task</see>, representing the ongoing operation,
/// whose result will be the deserialized data.</returns>
public delegate Task<TData> RequestDeserializerCallback<TData>(IHttpContext context);
}