|
@ -154,7 +154,7 @@ no limit will be applied. |
|
|
This object is created internally by a HTTP server -- not by |
|
|
This object is created internally by a HTTP server -- not by |
|
|
the user -- and passed as the first argument to a `'request'` listener. |
|
|
the user -- and passed as the first argument to a `'request'` listener. |
|
|
|
|
|
|
|
|
The request implements the [Readable Stream](streams.html#readable_Stream) |
|
|
The request implements the [Readable Stream](stream.html#readable_stream) |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
|
|
|
|
|
|
### Event: 'data' |
|
|
### Event: 'data' |
|
@ -274,7 +274,7 @@ authentication details. |
|
|
This object is created internally by a HTTP server--not by the user. It is |
|
|
This object is created internally by a HTTP server--not by the user. It is |
|
|
passed as the second parameter to the `'request'` event. |
|
|
passed as the second parameter to the `'request'` event. |
|
|
|
|
|
|
|
|
The response implements the [Writable Stream](streams.html#writable_Stream) |
|
|
The response implements the [Writable Stream](stream.html#writable_stream) |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
|
|
|
|
|
|
### Event: 'close' |
|
|
### Event: 'close' |
|
@ -616,7 +616,7 @@ event, the entire body will be caught. |
|
|
Note: Node does not check whether Content-Length and the length of the body |
|
|
Note: Node does not check whether Content-Length and the length of the body |
|
|
which has been transmitted are equal or not. |
|
|
which has been transmitted are equal or not. |
|
|
|
|
|
|
|
|
The request implements the [Writable Stream](streams.html#writable_Stream) |
|
|
The request implements the [Writable Stream](stream.html#writable_stream) |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
|
|
|
|
|
|
### Event 'response' |
|
|
### Event 'response' |
|
@ -808,7 +808,7 @@ will be called. |
|
|
This object is created when making a request with `http.request()`. It is |
|
|
This object is created when making a request with `http.request()`. It is |
|
|
passed to the `'response'` event of the request object. |
|
|
passed to the `'response'` event of the request object. |
|
|
|
|
|
|
|
|
The response implements the [Readable Stream](streams.html#readable_Stream) |
|
|
The response implements the [Readable Stream](stream.html#readable_stream) |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
interface. This is an `EventEmitter` with the following events: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|