Added more security and metrics
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user