Files
EonaCat.DoxaApi/DoxaApi/ConsoleResponse.cs
T

25 lines
741 B
C#

using EonaCat.Json;
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
{
[JsonProperty("statusCode")]
public int StatusCode { get; set; }
[JsonProperty("elapsedMs")]
public long ElapsedMs { get; set; }
[JsonProperty("headers")]
public Dictionary<string, string> Headers { get; set; } = new();
[JsonProperty("body")]
public string Body { get; set; } = "";
[JsonProperty("networkError")]
public bool NetworkError { get; set; }
}
}