docs: updates documentation for registerWasmHTTPListener

This commit is contained in:
Nicolas Lepage 2025-02-06 09:55:58 +01:00
parent 38c1814f66
commit 5dc06a3dbb
No known key found for this signature in database
GPG Key ID: B0879E35E66D8F6F

View File

@ -182,7 +182,9 @@ URL string of the WebAssembly module, example: `"path/to/my-module.wasm"`.
An optional object containing:
- `base` (`string`): Base path of the server, relative to the ServiceWorker's scope.
- `cacheName` (`string`): Name of the [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) to store the WebAssembly binary.
- `args` (`string[]`): Arguments for the WebAssembly module.
- `passthrough` (`(request: Request): boolean`): Optional callback to allow passing the request through to network.
## Contributors ✨