Closed raulk closed 4 years ago
This pull request proposes a few minor protocol changes at the RPC level.
ClientSignal
ClientCommand
CommandResponse
ServerNotice
CONFIG_EMITTER
UPDATE_CONFIG
config
HELLO
STOP_PUSH
This pull request proposes a few minor protocol changes at the RPC level.
ClientSignal
is renamed toClientCommand
.CommandResponse
message for protocol completeness.ServerNotice
message so that the server can signal circumstances to the client, e.g. that retained messages are being dropped.CONFIG_EMITTER
command is replaced by anUPDATE_CONFIG
command.config
field.CommandResponse
including the effective configuration.HELLO
command that the client must greet the server with upon establishing a WS connection. It can optionally send aconfig
object.CommandResponse
object with which the server returns the result of a command.STOP_PUSH
command.