This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-26
Channels
- # announcements (2)
- # babashka (55)
- # beginners (107)
- # calva (65)
- # cider (5)
- # clara (4)
- # clj-kondo (17)
- # cljs-dev (38)
- # cljsrn (16)
- # clojure (117)
- # clojure-australia (8)
- # clojure-europe (13)
- # clojure-italy (4)
- # clojure-nl (5)
- # clojure-provo (2)
- # clojure-sweden (9)
- # clojure-taiwan (1)
- # clojure-uk (41)
- # clojurescript (40)
- # code-reviews (1)
- # conjure (40)
- # cursive (4)
- # datomic (11)
- # events (2)
- # fulcro (33)
- # graalvm (1)
- # jobs (2)
- # jobs-discuss (19)
- # lsp (18)
- # off-topic (58)
- # polylith (2)
- # quil (2)
- # react (28)
- # reagent (35)
- # reitit (3)
- # remote-jobs (1)
- # ring (9)
- # sci (76)
- # shadow-cljs (19)
- # sql (10)
- # testing (5)
- # vim (13)
- # xtdb (5)
Has anyone been able to successfully proxy websockets in a ring app? I can proxy http/s just fine, but I don't know how to handle a websocket
i’ve had mild success with https://github.com/stalefruits/gniazdo, tho i ddin’t put it in any tests, just a simple script
Thanks! Looks like with this the proxy would have to re-create the websocket request. I'll need to maintain a connection pool in the proxy so connections are re-used too. Does that sound right?
oh, proxy! heck, I don’t know much about that. I interpreted that as “mock” or “stub”, lol
ie “how do I make fake websocket requests?”
nah, it’s my b for jumping to an answer without understanding the question. head empty no thoughts
that library is very nice tho. works seamlessly with sente, which is our primary websockets library.
I may be able to use the middleware wrapper in https://github.com/jarohen/chord#clojure ...