This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-26
Channels
- # babashka (5)
- # beginners (21)
- # cider (26)
- # clojure (46)
- # clojure-art (3)
- # clojure-dev (36)
- # clojure-europe (24)
- # clojure-norway (64)
- # conjure (28)
- # cursive (2)
- # datomic (1)
- # honeysql (12)
- # improve-getting-started (5)
- # introduce-yourself (5)
- # kaocha (1)
- # malli (17)
- # polylith (36)
- # reitit (3)
- # shadow-cljs (8)
Hey, has anyone used https://github.com/bobby/ring-sse or https://github.com/kumarshantanu/ring-sse-middleware [0] with Reitit, or is there another alternative? I am trying to get a quick test together with Undertow, and they have https://github.com/undertow-io/undertow/blob/master/examples/src/main/java/io/undertow/examples/sse/ServerSentEventsServer.java but it is a challenge for me to fit into ring/reitit. I know pedestal has built in and documented support, but I cannot use it at the moment. [0]: Which doesn't explicitly support Undertow.
if you don't mind playing around with alpha stuff there's metosin/pohjavirta which is a wrapper around undertow
I've been tracking it but it doesn't directly solve my problem here. I think regular old undertow can do SSE, I just don't know what the best approach is. Or if there is a better library/example that works with ring and reitit than the two listed.