fpc/packages/wasm-utils/demo
Michaël Van Canneyt 7f682589c7 * Fix compilation
2024-12-03 23:42:49 +01:00
..
http
regexp * Add license header 2024-09-08 10:56:24 +02:00
timer * Store session info only for project files 2024-11-28 11:40:48 +01:00
websocket * Fix compilation 2024-12-03 23:42:49 +01:00
README.md * Add timer API and demo 2024-09-18 16:49:27 +02:00

Assorted Webassembly utility routine demos

For the Timer, HTTP and Websocket demos, you need also the corresponding host application which will load the demo and provide the needed APIs.

They are contained in the Pas2JS demos under

demos/wasienv/timer

for the timer host, the http host is located under

demos/wasienv/wasm-http 

and the websocket host is in

demos/wasienv/wasm-websocket

respectively.

For the websocket demo, additionally the websocket server program in

packages/fcl-web/examples/websocket/server

is needed, since this is the websocket server that the demo program will connect to.

For the regexp demo, you need the corresponding pas2js host program

demos/wasienv/regexp