Skip to main content

Module message

Module message 

Source
Expand description

The messages of a connection between a remote user interface and the engine, over a WebSocket. The interface opens with Hello; the server answers Welcome or Rejected, then sends the state whenever it changes.

Structs§

Subscriptions
The optional streams an interface can ask for. All are off until it subscribes, so a hidden page costs nothing.

Enums§

ClientMessage
From a user interface to the server.
ServerMessage
From the server to a user interface.

Constants§

PROTOCOL_VERSION
Changes whenever a message changes incompatibly. Both ends must agree.