using System.Threading.Tasks;
using Arrowgene.Services.Logging;
namespace Mhf.Server.Web.Route
{
///
/// Implementation of Kestrel server as backend
///
public abstract class WebRoute : IWebRoute
{
protected ILogger Logger => LogProvider.Instance.GetLogger(this);
public abstract string Route { get; }
public virtual Task Get(WebRequest request)
{
return WebResponse.NotFound();
}
public virtual Task Post(WebRequest request)
{
return WebResponse.NotFound();
}
public virtual Task Put(WebRequest request)
{
return WebResponse.NotFound();
}
public virtual Task Delete(WebRequest request)
{
return WebResponse.NotFound();
}
}
}