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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.