mirror of
https://github.com/sebastian-heinz/mhf-server.git
synced 2025-04-04 05:48:29 +08:00
16 lines
301 B
C#
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();
|
|||
|
}
|
|||
|
}
|