hyper-prog / hasses

Hyper's Asynchronous Server Sent event (SSE) notification Server
http://hyperprog.com/hasses/index.html
GNU General Public License v2.0
24 stars 9 forks source link

Commands output as reply to request instead of to stdout #10

Closed Adam7288 closed 6 months ago

Adam7288 commented 6 months ago

Would be great if there could be an option to get statistics, or a list of clients, for instance as a reply to a request on port 8085 instead of directing the output to stdout.

To get the output of these commands involves a lot of engineering in order to pull the response from the logs.

hyper-prog commented 6 months ago

Solved by creating new commands with tcp prefix: "tcpstatus", "tcpnumberofclients", "tcpsubscribedclients:"