immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
michaelr 2018-02-14T21:31:39.000014Z

Hello!

michaelr 2018-02-14T21:32:57.000564Z

We're using (web/run) to serve from a ring handler, we're also using sente with the immutant adapter for websockets.

michaelr 2018-02-14T21:33:17.000417Z

Is there an easy way to enable per-message-deflate?

michaelr 2018-02-14T21:33:32.000595Z

I've found this discussion: https://clojurians-log.clojureverse.org/immutant/2016-04-15.html

michaelr 2018-02-14T21:33:49.000235Z

And this example: https://gist.github.com/tobias/a82e004d0180cbc4db20c9f2f6bf7249

michaelr 2018-02-14T21:34:38.000105Z

So it's using an HttpHandler instead of a ring handler.

michaelr 2018-02-14T21:35:11.000042Z

Can I somehow use this extension with a ring handler?

michaelr 2018-02-14T21:35:23.000299Z

Or alternatively wrap the ring handler with the HttpHandler?