In this chapter, we will cover the following recipes:
Dart, besides being an excellent web programming language is, also suitable for writing server applications. In this chapter, we will specifically look at Dart's
dart:io library to write web servers and their functionality. This library is built to work asynchronously so that the server can handle many requests at the same time (concurrently). It provides the class
HttpRequest to write command-line clients. The Dart team also wrote the
http_server package ...