ryanb / private_pub

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

Do sign on client? #124

Closed miukki closed 8 years ago

miukki commented 8 years ago

does it alright to get response with subscription on the client?

subscription = PrivatePub.subscription(:channel => channel)

and DO sign in Angular

PrivatePub.sign(#{subscription.to_json});

miukki commented 8 years ago

i dont want use client javascript in rails env / wanna do it in angular