Search code examples
qtweb-applicationselectrondesktop-applicationserver-communication

How to build a desktop app from a web app whilst being able to capture the communication with the server?


I'm trying to transform a web application to a desktop one without rewriting the code. Two solutions I found that seem promising are Qt with WebEngine (WebView) and Electron. The thing is I would like to be able to capture the communication with server, for example database queries and stuff like that and treat it locally. Is that possible using either of that tools? If so do you have any tips on how to go about the issue?

Thanks in advance.


Solution

  • Just for future reference I decided on Electron and used onBeforeRequest function to capture the http requests.