Fork me on GitHub
#yada
<
2018-07-25
>
nha00:07:35

I was able to make the websocket part of sente work with yada + bidi @clojure475 However for some reason I couldn’t make the ajax part of sente work and had to use compojure too. It may have changed since.

["/chsk" (-> (compojure.core/routes
               (GET  "/chsk" req ajax-get-or-ws-handshake-fn)
               (POST "/chsk" req ajax-post-fn))
             ring.middleware.keyword-params/wrap-keyword-params
             ring.middleware.params/wrap-params)]

Jeremy02:07:36

Interesting, thanks for trying @nha! It's quite appealing not to need the two extra dependencies (sente, compojure) though. I'll let you know how I go with aleph websocket on the server + goog.net.Websocket (via ) on the client

nha08:07:26

First time I hear of goog.net.Websocket - could be interesting indeed. Do you know if it works on nodejs too?