Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
wasmlib.php File Reference

This file contains various Web Assembly related functions, all functions here are self-contained and can be used in ABORT_AFTER_CONFIG scripts. More...

Functions

 wasm_send_cached (string $wasmpath, string $etag, string $filename='wasm.php')
 Send Web Assembly file content with as much caching as possible.
 
 wasm_send_uncached (string $wasm, string $filename='wasm.php')
 Send Web Assembly file without any caching.
 
 wasm_send_unmodified (int $lastmodified, string $etag)
 Send Web Assembly file not modified headers.
 
 wasm_write_cache_file_content (string $file, string $content)
 Create cache file for Web Assembly content.
 

Detailed Description

This file contains various Web Assembly related functions, all functions here are self-contained and can be used in ABORT_AFTER_CONFIG scripts.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later