2023-02-16 12:57:06 +00:00
|
|
|
using System.Net;
|
|
|
|
using Flurl;
|
|
|
|
|
|
|
|
namespace InnovEnergy.Lib.WebServer;
|
|
|
|
|
|
|
|
public static class Default
|
|
|
|
{
|
2023-06-27 15:01:40 +00:00
|
|
|
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;
|
|
|
|
}
|