public sealed record RunicServedBlob : IEquatable<RunicServedBlob> The response a window's host gives for a blob URL (blobs/1), as RunicWindowTestHost.ReadBlobAsync serves it.
Parameters
StatusCodeThe HTTP status: 200, 206 for a range, 304, 404 for a released or unknown URL, 416.
HeadersThe response headers, such as
Content-DispositionandCache-Control, by name.ContentThe body; empty for
HEADand for a status without one.
Constructors
RunicServedBlob
public RunicServedBlob(int StatusCode, IReadOnlyDictionary<string, string> Headers, byte[] Content) The response a window's host gives for a blob URL (blobs/1), as RunicWindowTestHost.ReadBlobAsync serves it.
Parameters
StatusCodeThe HTTP status: 200, 206 for a range, 304, 404 for a released or unknown URL, 416.
HeadersThe response headers, such as
Content-DispositionandCache-Control, by name.ContentThe body; empty for
HEADand for a status without one.
Properties
Content
public byte[] Content { get; init; } The body; empty for HEAD and for a status without one.
ContentDisposition
public string? ContentDisposition { get; } The Content-Disposition header, or null.
ContentType
public string? ContentType { get; } The Content-Type header, or null.
Headers
public IReadOnlyDictionary<string, string> Headers { get; init; } The response headers, such as Content-Disposition and Cache-Control, by name.
StatusCode
public int StatusCode { get; init; } The HTTP status: 200, 206 for a range, 304, 404 for a released or unknown URL, 416.