Skip to content

Types

The .NET SDK exposes the types below. They live under the PoliPage namespace:

using PoliPage;

The primary entry point for the Poli Page API. Provides methods to render templates, stream output, and manage documents.

Configuration options for PoliPage.PoliPageClient.

Groups all render operations: PDF, stream, preview, and document output. Accessed via PoliPage.PoliPageClient.Render.

Per-call overrides for a single SDK operation.

Carries context about a single retry attempt so that callers can observe or log retry activity via PoliPage.PoliPageClientOptions.OnRetry.

Base type for render inputs. Sealed against external extension via an internal constructor — only PoliPage.ProjectModeInput and PoliPage.InlineModeInput can derive.

Render input that references a stored project template by slug + version.

Render input carrying raw HTML inline — bypasses the project/template store.

Free-form metadata attached to a render. Values must be primitive (string, number, bool, or null) — non-primitive values throw at send-time.

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.