Plugins
ToDesktop Communication Server
Communicate between the web browser and your desktop app.
Installation
Install @todesktop/client-comm-server
in your client-side application using
Installation of the plugin package is also necessary. Using ToDesktop Builder, navigate to Plugins. Click on the Explore button for "Communication Server" and install the package.
Usage
checkIfCommServerRunning
Checks to see if the communication server is currently running. This should be executed from the context of the web app attempting communication with a local desktop app.
broadcast
Broadcasts a message to the running desktop app.
handleBroadcast
Listens to messages that have been forwarded from the communication server.