I assume they use these two functions to call Ajax to their server, but I'm not sure. How do they do it?
Ajax
Thanks.
I did not try to reverse engineer Gmail, but most likely they use some form of Comet (reverse AJAX).
With this approach, information is available instantly without any delay and additional network traffic.
Source: https://habr.com/ru/post/1412771/More articles:How do websites instantly update their content using AJAX? - javascriptHow to play 360ΒΊ video in iPhone SDK - iosHow to pass context from MenuItem onOptionsItemSelected to ASyncTask? - androidSort by column in child table using GORM? - grailsHow is an access session in javascript? - javascriptdoctrine2: in a one-to-many bidirectional relationship, how to keep the other side? - phpAndroid - How to convert KeyEvent KeyCode to Char? - androidCreating pairs of dynamic key pairs in a configuration section - c #Typecast property as an object - phpThe code needed to use foreach in my own application user settings is configAll Articles