using System.Threading.Tasks; namespace EmbedIO.Files { /// /// A callback used to handle a request in . /// /// An interface representing the context of the request. /// If the requested path has been successfully mapped to a resource (file or directory), the result of the mapping; /// otherwise, . /// A representing the ongoing operation. public delegate Task FileRequestHandlerCallback(IHttpContext context, MappedResourceInfo? info); }