June 2014
Intermediate to advanced
696 pages
38h 52m
English
Either the HTTP server or the HTTP client creates the IncomingMessage object. On the server side the client request is represented by an IncomingMessage object, and on the client side the server response is represented by an IncomingMessage object. The reason that the IncomingMessage object can be used for both is that the functionality is basically the same.
The IncomingMessage object implements a Readable stream, allowing you to read the client request or server response as a streaming source. This means that the readable and data events can be listened on and used to read data from the stream.
In addition to the functionality provided by the Readable class, IncomingMessage objects also provide the properties, ...
Read now
Unlock full access