| DataUriNetworkLoader |
The default RNetworkLoader used when NetworkLoader is left unset. Resolves only data: URIs; any other resource URI (remote stylesheets, remote images, HTTP(S) sources) is silently skipped. This is the safest default for server-side environments where network access must be opted into explicitly rather than assumed. |
| HttpClientNetworkLoader |
An RNetworkLoader that fetches the root HTML document and every resource it references (stylesheets, images) over HTTP(S) using a caller-supplied System.Net.Http.HttpClient. The caller controls the System.Net.Http.HttpClient’s lifetime, so custom headers, authentication, proxies, timeouts, and System.Net.Http.HttpMessageHandler chains are all supported without any PeachPDF-specific API. |
| MimeKitNetworkLoader |
An RNetworkLoader backed by a self-contained MHTML archive (what Chrome calls a “single page document”). The root HTML and every resource it references (stylesheets, images, fonts) are read from the archive’s MIME parts, matched by their Content-Location, so no network or file-system access is needed to render the document. |
| RNetworkLoader |
Controls how PeachPDF loads the root HTML document and every external resource it references (stylesheets, images). Set an instance on NetworkLoader to integrate PeachPDF with a custom resource source (a cloud blob store, a bundler manifest, an in-memory dictionary, etc.). PeachPDF ships three concrete implementations: DataUriNetworkLoader (the default when none is configured), MimeKitNetworkLoader for MHTML archives, and HttpClientNetworkLoader for HTTP(S) sources. data: URIs are always handled internally regardless of which loader is configured. |
| RNetworkResponse |
The result of resolving a resource URI via GetResourceStream(RUri). |
| RUri |
Wraps System.Uri for use throughout PeachPDF’s resource-loading pipeline, adding special-case handling for data: URIs (which System.Uri can parse but, on older target frameworks, cannot round-trip correctly through AbsoluteUri) and helpers for resolving a relative URI against a base URI. |