O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AJAX polling request

Usually, a web browser sends requests and immediately receives responses. Every new portion of data requested from the server starts to reload a whole web page. Asynchronous JavaScript and XML (AJAX) is a technology that allows the client-side JavaScript code to request data from a server without the need to reload the current page in the web browser. An important advantage of using AJAX compared to traditional flow of web pages is its ability to bring usability and behavior of desktop applications into a web application. HttpRequest is a client-side XHR request to get data from a URL, formally known as XMLHttpRequest, and has an important role in the AJAX web development technique.

Note

All the requests created within HttpRequest ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required