ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

Support for client subscription callbacks #37

Open mrjogo opened 12 years ago

mrjogo commented 12 years ago

The Faye client has subscription-finished callbacks (http://faye.jcoglan.com/browser/subscribing.html), which allow the client to execute code once it is successfully connected to the Faye server. It would be useful for PrivatePub to expose those in some way. Maybe something similar to the way message callbacks are handled now?

zlu commented 12 years ago

I like this request, it will also be useful for debugging.