Types
The .NET SDK exposes the types below. They live under the PoliPage namespace:
using PoliPage;PoliPageClient (class)
Section titled “PoliPageClient (class)”The primary entry point for the Poli Page API. Provides methods to render templates, stream output, and manage documents.
PoliPageClientOptions (record)
Section titled “PoliPageClientOptions (record)”Configuration options for PoliPage.PoliPageClient.
Render (class)
Section titled “Render (class)”Groups all render operations: PDF, stream, preview, and document output. Accessed via PoliPage.PoliPageClient.Render.
RequestOptions (record)
Section titled “RequestOptions (record)”Per-call overrides for a single SDK operation.
RetryEvent (record)
Section titled “RetryEvent (record)”Carries context about a single retry attempt so that callers can observe or log retry activity via PoliPage.PoliPageClientOptions.OnRetry.
RenderInput (record)
Section titled “RenderInput (record)”Base type for render inputs. Sealed against external extension via an internal constructor — only PoliPage.ProjectModeInput and PoliPage.InlineModeInput can derive.
ProjectModeInput (record)
Section titled “ProjectModeInput (record)”Render input that references a stored project template by slug + version.
InlineModeInput (record)
Section titled “InlineModeInput (record)”Render input carrying raw HTML inline — bypasses the project/template store.
RenderMetadata (class)
Section titled “RenderMetadata (class)”Free-form metadata attached to a render. Values must be primitive (string, number, bool, or null) — non-primitive values throw at send-time.
PoliPageErrorCode (class)
Section titled “PoliPageErrorCode (class)”Wire-level error code constants returned by the Poli Page API in the code field of the JSON error envelope. Use these constants instead of raw strings to guard against typos and to keep your code legible when switching on PoliPage.PoliPageException.Code.
For the full set of fields and XML doc comments on each type, see the source on GitHub.