using System.Net;

namespace JSMR.Infrastructure.Http;

public sealed class HttpStringResponse
{
    public required HttpStatusCode StatusCode { get; init; }
    public string? Content { get; init; }

    public bool IsSuccessStatusCode => (int)StatusCode is >= 200 and <= 299;
}