boazsegev / iodine

iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
MIT License
912 stars 51 forks source link

Middleware variant for websocket deflate #111

Open wishdev opened 3 years ago

wishdev commented 3 years ago

Ok, this would be an alternative which I believe makes less "deep down" changes. In fact it does not touch facil.io at all.

I believe the README example says it all - this appears to be a variant which hides even more of the guts from a standard developers workflow and I think accomplishes the task in a much more effective way. The changes in the other option go really deep and seem much less flexible to me.

But they both work and they are both offered up as options.