client library

The web-safe client for the Fluvie render API.

Depends only on package:http, so it works on web, mobile, and desktop. Import this (never package:fluvie_server/server.dart) from a Flutter app.

Classes

ApiCodeDiagnostic
One problem the validate endpoint reported, located 1-based for an editor.
ApiRenderClient
A web-safe HTTP client for the Fluvie render API.
ApiRenderRequest
A render request body, built on the client and sent to POST /v1/renders.
ApiValidationResult
The result of POST /v1/validate: whether the code is render-ok and every diagnostic found.
A downloadable artifact (the video or its poster) in a RenderJobView.
RenderJobView
A render job as seen by a client: status, progress, and download links.

Enums

ApiDiagnosticSeverity
The severity of an ApiCodeDiagnostic, mirroring the server's three levels.

Exceptions / Errors

ApiClientException
Thrown by ApiRenderClient when a request fails: a non-2xx response, a decode error, or a timeout while waiting for a render.