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
Websockets Agent #192
Comments
Added to agent suggestions list in #353 |
I though I would take a stab at this - here's my general idea:
In a nutshell, the I have 1 & 2 working so far and it feels quite good. For 3 & 4 an additional dependency @cantino Do you find this agreeable? If so, I would continue with this, clean up the code a bit, write some specs & start a PR. |
Hey @Mask, that's a cool idea! I think it makes a lot of sense to run a daemon with foreman, much like |
I'm trying to avoid latency due to the delayed_job poll interval. Additionally, I need a channel from the agent in Huginn to the daemon in case the agent wants to send messages over the websocket. Both directions can be done quite nicely with HTTP. |
That makes sense, I think. Do you have some sample code that's already On Wednesday, February 25, 2015, Martin Skinner notifications@github.com
|
Just a spike so far. I've pushed it to github https://github.com/Mask/huginn/tree/spike/websocket_agent This just connects to wss://echo.websocket.org and sends a "hello" message. Many values are hard-coded (e.g. the websocket server uri) which will become parameters later on. |
Awesome, I'll check this out and get back to you later this weekend! |
Consider this a suggestion for a websockets agent. Potential use includes any application that is using websockets for pushing data to the client. http://theforklift.net comes to mind.
The text was updated successfully, but these errors were encountered: