mirror of
https://github.com/sebastian-heinz/mhf-server.git
synced 2025-04-03 13:28:30 +08:00
13 lines
270 B
C#
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);
|
|
}
|
|
}
|