Skip to main content

manifest_url_for

Function manifest_url_for 

Source
pub fn manifest_url_for(wasm_url: &OxideUrl) -> Option<String>
Expand description

Manifest URL for a .wasm module URL (…/app.wasm…/app.toml).

The query string is preserved so signed or versioned module URLs (app.wasm?token=…) keep working for the sibling manifest; the fragment is dropped (never sent to the server). Returns None when the path doesn’t end in .wasm.