Anentropic
Anentropic

Reputation: 33923

Channel API: will presence get a disconnected notification when token expires?

I have built an app on the Channel API, using the channel presence urls to keep track of connected clients.

I receive a ping at /_ah/channel/disconnected/ when clients go away. Will I receive a ping if the token expires while the front-end client is connected?

Upvotes: 1

Views: 654

Answers (1)

Moishe Lettvin
Moishe Lettvin

Reputation: 8471

Yes, you will. And your front-end client will get an onerror and onclose callback.

Upvotes: 2

Related Questions