URL instances are fetched and their responses interpreted according to their content-type response header. application/wasm and application/octet-stream items
are treated as ManifestWasmData items; application/json and text/json are treated as JSON-encoded Manifests.
string instances that start with http://, https://, or file:// are treated as URLs.
string instances that start with { treated as JSON-encoded Manifests.
letmanifest = { wasm: [{name:'my-wasm', url:'http://example.com/path/to/wasm'}], config: { 'greeting':'hello'// these variables will be available via `extism_get_var` in plugins } }
Any type that can be converted into an Extism Manifest.
object
instances that implement Manifest are validated.ArrayBuffer
instances are converted into Manifests with a single ManifestWasmData member.URL
instances are fetched and their responses interpreted according to theircontent-type
response header.application/wasm
andapplication/octet-stream
items are treated as ManifestWasmData items;application/json
andtext/json
are treated as JSON-encoded Manifests.string
instances that start withhttp://
,https://
, orfile://
are treated as URLs.string
instances that start with{
treated as JSON-encoded Manifests.string
instances are treated as ManifestWasmPath.