@jjttjj Do you want to save it as a gist for a longer-lasting record than Clojurians Slack? I'm not too familiar with the WS side of Aleph yet, but I'll want to do something very similar (feed a stream to a WS with start/stop capabilities) in the next couple weeks. If you're not in a hurry, I can give a better review then.
(Minor typo: alep.http
should be aleph.http
, I assume)
@kingmob Sure, it's changed considerably since I sent that one, here's what I'm currently working with. Now it just returns a stream on which is put each new connection duplex stream upon being connected. I just changed it a bunch this morning and there might still be a bug or two https://gist.github.com/jjttjj/0dc1fbe001578f5580fedfad8ed81a80
Cool, will check out.