I'm creating a chat and for this I need to do a real-time mode so I do not have to be pinging several times on the server SignalR
that does this service, I'm working with Laravel-PHP
and read the documentation Broadcasting , but I can not figure out how it works.
What do I need to do:
When a user sends a message, the server notifies the other user that it has a new message, thus avoiding thousands of requests.
Does anyone know how I can perform? That is a fuction of laravel itself or in PHP.