Jet [1] is a lightweight library for using Jetty9 from clojure. Jetty9 is interesting (compared to 7 or 8) mostly due to the fact that its core has been rewritten to take advantage of Async IO and it brings first class support for WebSocket among other nice things.
There's an old'ish post that describes some of the new things here: https://webtide.com/jetty-9-updated-websocket-api/ This library tries to make all this accesible from clojure, using core.async interfaces whenever async comes into play. It currently includes: * a drop in replacement adapter for ring apps * a ring extension to do async responses via a core.async channel * another ring extension to do chunked transfers when the response :body is a core.async channel (compatible with the previously described extension) * WebSocket server support * a full featured WebSocket client (jvm based), with an api that's nearly identical to the server side of WS * a HTTP client, very similar to clj-http, with streaming support, connection pooling, cookies support, etc, etc... The README has more info and examples: https://github.com/mpenet/jet/blob/master/README.md Codox Documentation: http://mpenet.github.io/jet/ 1. https://github.com/mpenet/jet -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.