PeachPDF

PeachPDF.Network

RNetworkResponse Class

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

public record RNetworkResponse : System.IEquatable<PeachPDF.Network.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, PeachPDF inspects this for a Content-Type header and only accepts the body as CSS when it is text/css.