Expand description
Poli Page SDK for Rust — render PDFs from HTML templates via the Poli Page API.
See PoliPage for the entry-point client.
Re-exports§
pub use client::PoliPage;pub use client::PoliPageBuilder;pub use documents::Documents;pub use error::error_codes;pub use error::Error;pub use error::ErrorPayload;pub use fs::render_to_file;pub use render::Render;pub use retry::RequestEvent;pub use retry::ResponseEvent;pub use retry::RetryEvent;pub use types::DocumentDescriptor;pub use types::DocumentPreviewResult;pub use types::MetadataValue;pub use types::Orientation;pub use types::PageFormat;pub use types::RenderInput;pub use types::RenderMetadata;pub use types::Thumbnail;pub use types::ThumbnailFormat;pub use types::ThumbnailOptions;
Modules§
- blocking
blocking - Synchronous wrapper over the async
crate::PoliPagesurface. - client
- Client construction, configuration, transport seam, and the retry loop.
- documents
- The
documentsnamespace —client.documents.{get, preview, thumbnails, delete}. - error
- Single
Errorenum + predicate helpers + wire-level code constants. - fs
render_to_file— render a PDF and stream it to disk in bounded memory.- render
- The
rendernamespace —client.render.{pdf, pdf_stream, document}. - retry
- Retry-loop event surfaced through the
on_retryhook (spec §10.2). - types
- Wire-shape types exposed by the public surface.