We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let a Client connect to the Server with a WebSocket, so the Server can send Events to the Client without the Client polling it.
What do you think?
The text was updated successfully, but these errors were encountered:
That would be interesting indeed :)
Sorry, something went wrong.
After another though, we could also use Server-Sent Events to send events to clients over HTTP. It's probably simpler to implement and use.
Here's some more information about SSE: https://medium.com/code-zen/python-generator-and-html-server-sent-events-3cdf14140e56
Looks hard to implement at the moment: https://stackoverflow.com/questions/38179117/how-can-i-use-server-sent-events-in-iron
Furthermore, since Iron is synchronous, we'd probably keep an entire Thread busy with sending out events.
In the long term, we should probably move to an async solution. Maybe with actix-web?
No branches or pull requests
Let a Client connect to the Server with a WebSocket, so the Server can send Events to the Client without the Client polling it.
What do you think?
The text was updated successfully, but these errors were encountered: