June 2014
Intermediate to advanced
696 pages
38h 52m
English
Now that you understand the ClientRequest, ServerResponse, and IncomingMessage objects, you are ready to jump in and implement some Node.js HTTP clients and servers. This section guides you through the process of implementing basic HTTP clients and servers in Node.js. You will implement a client and server in each section to see how the two interact.
The examples in the following sections are extremely basic to make it easy for you to grasp the concepts of starting the client/server and then handling the different requests and responses. The examples contain no error handling, no protection against attacks, and not much other functionality. However, these examples provide a good variety of the ...
Read now
Unlock full access