-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Server-sent events support #63
Comments
Any progress on this ? |
I did some early investigation that SSE may not require adapter level support. It can be implemented via a library in ring ecosystem, like https://github.com/bobby/ring-sse/ I don't have real-world use case for SSE at the moment. Could you please check if the library work for you? |
Thanks, I saw that library, it's 4 years since it's been last updated, also could not figure out how to hook it up to a normal ring-application. Once again there seems to be only cryptic code snippets. I've asked the author to provide a minimal working example 6 days ago, no joy this far. Seems to be the common problem in Clojure, Either completely out of date libraries or these extreme short and cryptic code-snippets that should somehow be regarded as documentation or examples. :/ |
I'm surprised SSE doesn't seem to work. Does other forms of streaming HTTP responses work? edit: By the way, the original ring project is upgrading to Jetty 11 now: ring-clojure/ring#481 ...still alpha, but SSE seems to work. |
Did you see any error log, or error behavior with SSE on this adapter? I might be able to create a fix for that. |
It seems to go silent, no error, and no HTTP response. Then after a while the connection closes. |
Attempt to add support for server-sent events(SSE) on current ring model, like how we supported websocket.
The text was updated successfully, but these errors were encountered: