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

12 lines
349 B
C#

using System.Threading.Tasks;
using Arrowgene.Services.Logging;
namespace Mhf.Server.Web.Middleware
{
public abstract class WebMiddleware : IWebMiddleware
{
protected ILogger Logger => LogProvider.Instance.GetLogger(this);
public abstract Task<WebResponse> Handle(WebRequest request, WebMiddlewareDelegate next);
}
}