Added authentication
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace EonaCat.DoxaApi.Middleware
|
||||
{
|
||||
// This file is part of the EonaCat project(s) which is released under the Apache License.
|
||||
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
|
||||
|
||||
internal sealed class ConsoleResponse
|
||||
{
|
||||
[JsonPropertyName("statusCode")]
|
||||
public int StatusCode { get; set; }
|
||||
|
||||
[JsonPropertyName("elapsedMs")]
|
||||
public long ElapsedMs { get; set; }
|
||||
|
||||
[JsonPropertyName("headers")]
|
||||
public Dictionary<string, string> Headers { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("body")]
|
||||
public string Body { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("networkError")]
|
||||
public bool NetworkError { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user