Added more security and metrics

This commit is contained in:
2026-06-22 07:28:03 +02:00
committed by Jeroen Saey
parent 2a1f7b77ee
commit cb2d111ad7
27 changed files with 1638 additions and 884 deletions
+6 -6
View File
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using EonaCat.Json;
namespace EonaCat.DoxaApi.Middleware
{
@@ -7,19 +7,19 @@ namespace EonaCat.DoxaApi.Middleware
internal sealed class ConsoleResponse
{
[JsonPropertyName("statusCode")]
[JsonProperty("statusCode")]
public int StatusCode { get; set; }
[JsonPropertyName("elapsedMs")]
[JsonProperty("elapsedMs")]
public long ElapsedMs { get; set; }
[JsonPropertyName("headers")]
[JsonProperty("headers")]
public Dictionary<string, string> Headers { get; set; } = new();
[JsonPropertyName("body")]
[JsonProperty("body")]
public string Body { get; set; } = "";
[JsonPropertyName("networkError")]
[JsonProperty("networkError")]
public bool NetworkError { get; set; }
}
}