WebSockets based notifications stack - pronounced 'zerver'
- From the command line:
php server.php
to start the server listening - Verbosity and Enforced - *use
php server.php verbose=true|false enforce=true|false
(default true, false) when starting the sever - From the client: connect over your chosen WebSockets client! There is an example one included
The command line arguments must be used together in order to use enforce command. The enforce command ( if true ) will force the server to delete any existing PID lock files and to kill the corresponding process beofre loading itself up.
- "list" to view the stack
- "push:xxxxxx" to add to stack
- "pop:xxx" to view message index number xxx
- "memo:xxxxx" to broadcast message to all clients
- "exit" to disconnect for the server
- "elevate:xxxxx" where xxxxxx is the password to elevate client to root and allow server commands below
- "stop" to pause server from accepting new connections
- "start" to resume server allowing new connections
- "shutdown" to close down the server
- "info" to view the currently connected clients information
- "kill:xxx" to kill a client where "xxx" is the client id