June 2014
Intermediate to advanced
696 pages
38h 52m
English
To use the http module in Node.js applications, you first need to understand the request and response objects. They provide the information and much of the functionality that comes into and out of the HTTP clients and servers. Once you see the makeup of these objects—including the properties, events, and methods they provide—it will be simple to implement your own HTTP servers and clients.
The following sections cover the purposes and behaviors of the ClientRequest, ServerResponse, IncomingMessage, and Server objects. You’ll learn about the most important events, properties, and methods that each provides.
Read now
Unlock full access