سؤال

How to change a channel connection lifetime in Pusher Javascript API when initializing a connection?

I want to connection for a given client to automatically disconnect after 30 seconds when user is not active.

هل كانت مفيدة؟

المحلول

We just provided you with an answer via the ticketing system.

You will find info here: https://github.com/pusher/pusher-js#activitytimeout-integer

Regards Loic

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top