CHAPTER 6

image

Getting Started with HTTP

Node.js was created specifically to make scalable server-side and networking applications. It ships with battle-tested functionality to handle network connections effectively. This provides the groundwork on which the community can build full-blown application servers.

In this chapter, we will look at the core functionality provided by Node.js for creating web applications. We will then review the connect middleware framework that allows you to create reusable web server components. Finally, we will take a look at securing your web servers with HTTPS.

Basics of Node.js HTTP

Following are the main core networking ...

Get Beginning Node.js now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.