webui
webui copied to clipboard
Rust Wrapper
I don't have enough time to finish the Rust wrapper here, if you have experience in Rust, you can tray to create a C struct webui_javascript_int_t
, pass it to webui_run_js_int_struct()
by reference, Another way is you can call webui_run_js_int()
and give the necessary references.
This is to run a JavaScript from Rust by sending it to WebUI and receives the result.
Some wrappers I already finish it: Go wrapper example Python wrapper example
The _int
mean interface.. probably I should rename it later.
Fixed https://github.com/alifcommunity/webui/commit/d7c62fc8d74fff43991a462e8cae2d694a7b72fa