squeeze-alexa
squeeze-alexa copied to clipboard
Prove / document using squeeze-alexa with HAProxy
It's a more modern and available generic TLS proxy that shows promise for usage here, and might help cut through the setup complexity...
Wouldn't it be easier to the JSON-RPC interface? You basically send CLI commands to the LMS interface at http://<LMS server>/jsonrpc.js. That would be much easier to proxy, since it is HTTP traffic.
@dasos interesting.
I think I considered jsonrpc originally briefly but then forgot all about it. Haven't really used it ever either. Perhaps I thought it was significantly slower but am now thinking it's probably negligible. Can you send multiple commands / lines per web request?
I've found it much faster and more reliable. I'm not aware that you can send multiple commands per request, but I've never needed to.
Sending { "id": 1, "method": "slim.request", "params": ["", ["player", "count", "?"]] }
and getting a response took 21ms according to Postman.