using System.Threading.Tasks; namespace EmbedIO { /// /// A callback used to serialize data to a HTTP response. /// /// The HTTP context of the request. /// The data to serialize. /// A representing the ongoing operation. public delegate Task ResponseSerializerCallback(IHttpContext context, object? data); }