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

16 lines
301 B
C#

using System.Threading.Tasks;
using Mhf.Server.Web.Route;
namespace Mhf.Server.Web.Server
{
/// <summary>
/// Defines web server
/// </summary>
public interface IWebServer
{
void SetHandler(IWebServerHandler handler);
Task Start();
Task Stop();
}
}