save checkpoint
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace StellaOps.Router.Gateway.Configuration;
|
||||
|
||||
public enum StellaOpsRouteType
|
||||
{
|
||||
Microservice,
|
||||
ReverseProxy,
|
||||
StaticFiles,
|
||||
StaticFile,
|
||||
WebSocket,
|
||||
NotFoundPage,
|
||||
ServerErrorPage
|
||||
}
|
||||
|
||||
public sealed class StellaOpsRoute
|
||||
{
|
||||
public StellaOpsRouteType Type { get; set; }
|
||||
|
||||
public string Path { get; set; } = string.Empty;
|
||||
|
||||
public bool IsRegex { get; set; }
|
||||
|
||||
public string? TranslatesTo { get; set; }
|
||||
|
||||
public Dictionary<string, string> Headers { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user