@weavejester hey weave how are you my friend?
Hullo @sova
do you do any realtime backend/frontend comms on your projects?
@sova I have an ongoing project that uses websockets
does anyone have an example of using ring-mock
passing form data (not query params)?
(-> (mock/request :post "/foo")
(mock/body {:something "blah"}))
ah the mock/body function; thnx dude!
@weavejester cool! are you implementing websockets yourself or are you using something well known?
@sova I use http-kit for websockets on the server side, and on the client side, Haslett (https://github.com/weavejester/haslett)
fockn glorius
oh nice, i’ve only played with sente a bit when going through yogthos’ clojure webdev book 👍:skin-tone-2:
I used to use Chord, but the bi-directional channels were a little against the design of core.async.
Channels in core.async are more like queues; they’re deliberately one way.
you mean with put and take >!
I lik channels and the idea / underlying concept, I don't know of a good use case. I'm sure there are manyv
sente is great! but a little over my newbie head
my current implementation using sente works quite well but the callbacks, i never really figured out cleanly, so my login script at the moment is the hackiest hack job in the world lol
thanks for pointing out haslett @weavejester, it's really quite fascinating and amazing !! how much you can learn implementing the same project using different approaches / libs