mhf-server/Mhf.Server/Web/Middleware/IWebMiddleware.cs
2019-11-24 19:43:35 +08:00

13 lines
270 B
C#

using System.Threading.Tasks;
namespace Mhf.Server.Web.Middleware
{
/// <summary>
/// Defines a middleware
/// </summary>
public interface IWebMiddleware
{
Task<WebResponse> Handle(WebRequest request, WebMiddlewareDelegate next);
}
}