The IPC bridge currently allows for basic CRUD operations over HTTP, but this is not especially useful for anyone who wants to push things from backend to frontend. The obvious solution would be WebSockets, but wxWidgets does not support WebSockets on any of its backends. What it does support is the ability to inject JavaScript and retrieve the result. There are a few possible solutions:
- Highly abstract event system that creates an abstract stream above WebSockets/script injection.
- Add WebSockets to wxWidgets.
- Use an embedded WebSocket server to run alongside the desktop runtime.
Each solution has its pros and cons, and I am nowhere near a decision on how to approach this.
The IPC bridge currently allows for basic CRUD operations over HTTP, but this is not especially useful for anyone who wants to push things from backend to frontend. The obvious solution would be WebSockets, but wxWidgets does not support WebSockets on any of its backends. What it does support is the ability to inject JavaScript and retrieve the result. There are a few possible solutions:
Each solution has its pros and cons, and I am nowhere near a decision on how to approach this.