Skip to main content

fetch_manifest

Function fetch_manifest 

Source
pub async fn fetch_manifest(
    wasm_url: &OxideUrl,
) -> Result<Option<AppManifest>, String>
Expand description

Fetches the manifest for a module URL (HTTP/HTTPS or file://).

Returns Ok(None) when the app has no manifest (missing file, HTTP 404, non-.wasm URL), Err with a human-readable message when a manifest exists but cannot be parsed.