Innovenergy_trunk/csharp/lib/WebServer/Default.cs

14 lines
505 B
C#

using System.Net;
using Flurl;
namespace InnovEnergy.Lib.WebServer;
public static class Default
{
public static IPEndPoint EndPoint { get; } = new IPEndPoint(0, 0);
public static Url Url { get; } = new Url("");
public static HttpResponse HttpNotFound { get; } = new HttpResponse { StatusCode = 404 };
public static HttpResponse HttpForbidden { get; } = new HttpResponse { StatusCode = 403 };
public static HttpResponse HttpResponse(HttpRequest _) => HttpNotFound;
}