samedi 4 février 2017

Send user online/offline status to Laravel with socket.io

I have a chat app as real-time with socket.io. I want to save online/offline status on the database in Laravel back-end. For online status I don't have problem, but for offline status, I don't have any plan. My front-end framework is Angularjs 1.x and use JWT for authentication.

As matter of fact I want to save offline user status in database when user close browser of change route and emit all users from these user's status?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jOit0B
via IFTTT

Aucun commentaire:

Enregistrer un commentaire