Files

22 lines
640 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 ConsoleRequest
{
[JsonProperty("method")]
public string Method { get; set; } = "GET";
[JsonProperty("url")]
public string Url { get; set; } = "";
[JsonProperty("headers")]
public Dictionary<string, string>? Headers { get; set; }
[JsonProperty("body")]
public string? Body { get; set; }
}
}