Files
jsmr/JSMR.Infrastructure/Http/HtmlLoadResult.cs
Brian Bicknell 62c2efab01
All checks were successful
ci / build-test (push) Successful in 2m18s
ci / publish-image (push) Has been skipped
Updated scanner to infer when it has reached the end of results.
2026-03-07 01:26:04 -05:00

12 lines
308 B
C#

using HtmlAgilityPack;
using System.Net;
namespace JSMR.Infrastructure.Http;
public sealed class HtmlLoadResult
{
public required HttpStatusCode StatusCode { get; init; }
public HtmlDocument? Document { get; init; }
public bool IsSuccessStatusCode => (int)StatusCode is >= 200 and <= 299;
}