Why do I need long polling? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Why do I need long polling?

Explain in your own words.

20th Jul 2018, 3:53 PM
Omar Semma
Omar Semma - avatar
1 Réponse
+ 4
Hello, Omar Alex ! Long Polling is a technology that allows you to receive data about new events using "long queries". The server receives the request, but sends a response to it not immediately, but only when there is an event {for example, a new message will arrive} or the specified timeout will expire. Good luck in programming on SoloLearn! https://www.sololearn.com/Course/PHP/?ref=app
20th Jul 2018, 3:56 PM
Alexander Sokolov
Alexander Sokolov - avatar