Tiny web app illustrating WebSocket duplex communication.

Skip to first unread message

Deyan Yotsov

Jun 5, 2021, 7:53:24 AMJun 5
to clo...@googlegroups.com

I've been trying to understand WebSockets, and created a tiny web app in
Clojure+ClojureScript that uses them. It was more of a journey of
discovery, and I tried to keep the code as minimal as possible and as
annotated as possible.

People usually write a browser chat, but I felt that something that
feels a bit more like a browser multiplayer game would be a better
use-case, since chat actually works quite well with reverse AJAX and
does not require "immediate" updates.

Anyway, this will not be useful to WebSockets veterans, but *might* be
useful to some people who are, like me, trying to learn the basics, so I
thought I'd share it:


Have a nice weekend!


Daniel Craig

Jun 5, 2021, 10:36:53 AMJun 5
to clo...@googlegroups.com
Sounds cool! I’ll check it out

> On Jun 5, 2021, at 5:53 AM, Deyan Yotsov <de...@yotsov.org> wrote:
> Hello!
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- You received this message because you are subscribed to the Google Groups "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/ac117dc5-129f-268a-07fc-aab8b9c685b2%40yotsov.org.
Reply all
Reply to author
0 new messages