Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prove / document using squeeze-alexa with HAProxy #3

Open
declension opened this issue Feb 14, 2017 · 3 comments
Open

Prove / document using squeeze-alexa with HAProxy #3

declension opened this issue Feb 14, 2017 · 3 comments

Comments

@declension
Copy link
Owner

It's a more modern and available generic TLS proxy that shows promise for usage here, and might help cut through the setup complexity...

@dasos
Copy link

dasos commented Mar 27, 2017

Wouldn't it be easier to the JSON-RPC interface? You basically send CLI commands to the LMS interface at http:///jsonrpc.js. That would be much easier to proxy, since it is HTTP traffic.

@declension
Copy link
Owner Author

@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?

@dasos
Copy link

dasos commented Mar 28, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants