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