using System.Threading.Tasks;
namespace Mhf.Server.Web.Route
{
///
/// Defines a handler for a route
///
public interface IWebRoute
{
string Route { get; }
Task Get(WebRequest request);
Task Post(WebRequest request);
Task Put(WebRequest request);
Task Delete(WebRequest request);
}
}