pusher/pusher-gem — Issue #13: Persistent connections ?
Author: zimbatm
Created: 2011-10-10 14:32:02+00:00
State: open

I wonder if it's possible to have a version which supports persistent connections like `net-http-persistent`.

For that, it would probably be better to have a connection object that is not memoized per channel but per end-point. Maybe introduce a new Pusher::Client that can be derived by different http client implementations and can be used by the Pusher::Channel. That would also avoid having inline requires in Channel#trigger.