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

Chapter 9. Client-to-server Communication

In this chapter, we will discuss how to organize client-to-server communication. We will find answers to presumably the important questions, such as the right choice of Dart classes using the client-to-server communication. In this chapter, we will cover the following topics:

  • Communication at a glance
  • Hypertext Transfer Protocol
  • AJAX polling request
  • AJAX long polling request
  • Server-Sent Events
  • WebSocket

Communication at a glance

Some of us can't imagine the modern world without the Internet, cell phones, or computers. Each device connected to the Internet can either be a client, a server, or both of these simultaneously. Communication between a client and a server is the basis of modern digital world. Communication ...

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