Command Line Interface
To see a list of available commands and options, run:
or
Basic Commands
Start Server
Options:
--port
: Port number (default: 8765)--host
: Host address (default: 127.0.0.1)
(use 0.0.0.0 for host to bind to all interfaces)
Start Client
This interactive command line client is useful for testing and debugging, sending custom messages etc.
Client Input Format
The client accepts JSON messages in this format:
Common event types:
sum_event
: Calculate sum of numbersmsg
: Send text message