@@ -295,6 +295,8 @@ agent. Do not modify.
295295added: v0.1.17
296296-->
297297
298+ * Extends: {Stream}
299+
298300This object is created internally and returned from [ ` http.request() ` ] [ ] . It
299301represents an _ in-progress_ request whose header has already been queued. The
300302header is still mutable using the [ ` setHeader(name, value) ` ] [ ] ,
@@ -325,9 +327,6 @@ Unlike the `request` object, if the response closes prematurely, the
325327Node.js does not check whether Content-Length and the length of the
326328body which has been transmitted are equal or not.
327329
328- The request inherits from [ Stream] [ ] , and additionally implements the
329- following:
330-
331330### Event: 'abort'
332331<!-- YAML
333332added: v1.4.1
@@ -819,8 +818,7 @@ nothing and waits for more input.
819818added: v0.1.17
820819-->
821820
822- This class inherits from [ ` net.Server ` ] [ ] and has the following additional
823- events:
821+ * Extends: {net.Server}
824822
825823### Event: 'checkContinue'
826824<!-- YAML
@@ -1110,12 +1108,11 @@ affects new connections to the server, not any existing connections.
11101108added: v0.1.17
11111109-->
11121110
1111+ * Extends: {Stream}
1112+
11131113This object is created internally by an HTTP server — not by the user. It is
11141114passed as the second parameter to the [ ` 'request' ` ] [ ] event.
11151115
1116- The response inherits from [ Stream] [ ] , and additionally implements the
1117- following:
1118-
11191116### Event: 'close'
11201117<!-- YAML
11211118added: v0.6.7
@@ -1608,14 +1605,13 @@ the request body should be sent.
16081605added: v0.1.17
16091606-->
16101607
1608+ * Extends: {stream.Readable}
1609+
16111610An ` IncomingMessage ` object is created by [ ` http.Server ` ] [ ] or
16121611[ ` http.ClientRequest ` ] [ ] and passed as the first argument to the [ ` 'request' ` ] [ ]
16131612and [ ` 'response' ` ] [ ] event respectively. It may be used to access response
16141613status, headers and data.
16151614
1616- It implements the [ Readable Stream] [ ] interface, as well as the
1617- following additional events, methods, and properties.
1618-
16191615### Event: 'aborted'
16201616<!-- YAML
16211617added: v0.3.8
@@ -2273,6 +2269,4 @@ not abort the request or do anything besides add a `'timeout'` event.
22732269[ `socket.setTimeout()` ] : net.html#net_socket_settimeout_timeout_callback
22742270[ `socket.unref()` ] : net.html#net_socket_unref
22752271[ `url.parse()` ] : url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost
2276- [ Readable Stream ] : stream.html#stream_class_stream_readable
2277- [ Stream ] : stream.html#stream_stream
22782272[ `HPE_HEADER_OVERFLOW` ] : errors.html#errors_hpe_header_overflow
0 commit comments