Skip to main content

Module client

Module client 

Source
Expand description

HTTP client implementation for the RomM API. HTTP client wrapper around the ROMM API.

RommClient owns a configured reqwest::Client plus base URL and authentication settings. Frontends (CLI, TUI, or a future GUI) depend on this type instead of talking to reqwest directly.

Structs§

RommClient
High-level HTTP client for the ROMM API.
SaveUploadOptions
Optional query fields for save uploads used in sync flows.

Functions§

api_root_url
Returns the browser-style origin for RomM (no /api suffix).
openapi_spec_urls
Returns a list of candidate URLs to try for the OpenAPI JSON document.
resolve_openapi_root
Resolves the origin used to fetch /openapi.json.