PeachDrawing.Core

PeachDrawing.Core

RNetworkResponse Class

The result of resolving a resource URI via GetResourceStream(RUri).

public record RNetworkResponse : System.IEquatable<PeachDrawing.Core.RNetworkResponse>

Inheritance System.Object → RNetworkResponse

Implements System.IEquatable<RNetworkResponse>

Constructors  
RNetworkResponse(Stream, Dictionary<string,string[]>) The result of resolving a resource URI via GetResourceStream(RUri).
Properties  
ResourceStream The resource’s content stream, or null if the resource has no body.
ResponseHeaders HTTP-style response headers for the resource, if any. For stylesheet resources, a host may inspect this for a Content-Type header and only accepts the body as CSS when it is text/css.