Are the only things we can access from the browser/webview the functions listed in webui::window? #553
Unanswered
Please-just-dont
asked this question in
Q&A
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: |
0 replies
|
@AlbertShown Does all data between your C code and the browser go across a socket or pipe? Or within your application through library calls? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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?
All reactions