Actions

Start Server

Starts a web socket server that allows browser clients to connect to your desktop app.

Security Warning:

When enabled, the WebSocket server opens a port that any reachable webpage or application can connect to (including browsers, local apps, and possibly other devices on your network).

All incoming requests should be treated as untrusted. You should validate and authorize messages before using them.


Stop Server

Stops the server and disconnects all clients.


Send Message

Sends a message to a specified client.


Broadcast Message

Sends a message to all connected clients.

This will not return an error if one of the clients aren't able to receive the message. If you want to ensure deliverability, use the Send Message method.