Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
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. More...
 
 wasm_send_uncached (string $wasm, string $filename='wasm.php')
 Send Web Assembly file without any caching. More...
 
 wasm_send_unmodified (int $lastmodified, string $etag)
 Send Web Assembly file not modified headers. More...
 
 wasm_write_cache_file_content (string $file, string $content)
 Create cache file for Web Assembly content. More...
 

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