Innovenergy_trunk/csharp/Lib/WebServer/Default.cs

14 lines
515 B
C#
Raw Permalink Normal View History

2023-02-16 12:57:06 +00:00
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("");
2023-02-16 12:57:06 +00:00
public static HttpResponse HttpNotFound { get; } = new HttpResponse { StatusCode = 404 };
public static HttpResponse HttpForbidden { get; } = new HttpResponse { StatusCode = 403 };
public static HttpResponse HttpResponse(HttpRequest _) => HttpNotFound;
}