Are the only things we can access from the browser/webview the functions listed in webui::window? #553
Replies: 2 comments 2 replies
-
Implementing those browser's API make the developer limited to what library offers... which is not ideal. WebUI use a better solution, it gives you an easy way to call JavaScript from your backend language, and an easy way to call your backend function from JavaScript in the browser, in this way, you can call and use 100% of the browser's capabilities. Look at this simple example where we can easily call a HTTPS request from C: |
Beta Was this translation helpful? Give feedback.
-
@AlbertShown Does all data between your C code and the browser go across a socket or pipe? Or within your application through library calls? |
Beta Was this translation helpful? Give feedback.
-
In the webui::window object there are about 35 functions we can call but they all have to do with the GUI. I'm assuming webui makes calls to the interfaces in the library exposed by the web browser and that there are many more things available to us through the browser's API? Things such as getting the image/buffer of the display or making http requests. This project(webui) doesn't expose any functionality beyond those exposed in the webui::window object? Are there any libraries/projects that do this?
Beta Was this translation helpful? Give feedback.
All reactions