I have Chrome and Firefox communicating via Aleph through websockets
in a fully Clojurescript project. I had to patch goog.jar to include
the dependencies and websockets.js, and I had to wrap closure's
WebSocket class to detect firefox and change the wrapped factory to
MozWebSocket from WebSocket.
I considered using websocketjs, but since I didn't care about 100%
compatibility I didn't want to get Flash involved. Chrome and Firefox
is enough compatibility for me.
On Feb 24, 4:57 am, "Daniel E. Renfer" <
duck112...@gmail.com> wrote:
> I can confirm that it is also working for me again, although I can't
> tell to what extent it was broken for me before as I just today
> discovered that Nginx doesn't properly proxy all the needed information
> for websockets and I am temporarily having the websocket connection go
> to my aleph port (8085 in my case) directly.
>
> I would also like to point out this project that I just found today.
https://github.com/gimite/web-socket-jsIt takes care of the cross