@@ -295,6 +295,8 @@ agent. Do not modify.
295
295
added: v0.1.17
296
296
-->
297
297
298
+ * Extends: {Stream}
299
+
298
300
This object is created internally and returned from [ ` http.request() ` ] [ ] . It
299
301
represents an _ in-progress_ request whose header has already been queued. The
300
302
header is still mutable using the [ ` setHeader(name, value) ` ] [ ] ,
@@ -325,9 +327,6 @@ Unlike the `request` object, if the response closes prematurely, the
325
327
Node.js does not check whether Content-Length and the length of the
326
328
body which has been transmitted are equal or not.
327
329
328
- The request inherits from [ Stream] [ ] , and additionally implements the
329
- following:
330
-
331
330
### Event: 'abort'
332
331
<!-- YAML
333
332
added: v1.4.1
@@ -819,8 +818,7 @@ nothing and waits for more input.
819
818
added: v0.1.17
820
819
-->
821
820
822
- This class inherits from [ ` net.Server ` ] [ ] and has the following additional
823
- events:
821
+ * Extends: {net.Server}
824
822
825
823
### Event: 'checkContinue'
826
824
<!-- YAML
@@ -1110,12 +1108,11 @@ affects new connections to the server, not any existing connections.
1110
1108
added: v0.1.17
1111
1109
-->
1112
1110
1111
+ * Extends: {Stream}
1112
+
1113
1113
This object is created internally by an HTTP server — not by the user. It is
1114
1114
passed as the second parameter to the [ ` 'request' ` ] [ ] event.
1115
1115
1116
- The response inherits from [ Stream] [ ] , and additionally implements the
1117
- following:
1118
-
1119
1116
### Event: 'close'
1120
1117
<!-- YAML
1121
1118
added: v0.6.7
@@ -1608,14 +1605,13 @@ the request body should be sent.
1608
1605
added: v0.1.17
1609
1606
-->
1610
1607
1608
+ * Extends: {stream.Readable}
1609
+
1611
1610
An ` IncomingMessage ` object is created by [ ` http.Server ` ] [ ] or
1612
1611
[ ` http.ClientRequest ` ] [ ] and passed as the first argument to the [ ` 'request' ` ] [ ]
1613
1612
and [ ` 'response' ` ] [ ] event respectively. It may be used to access response
1614
1613
status, headers and data.
1615
1614
1616
- It implements the [ Readable Stream] [ ] interface, as well as the
1617
- following additional events, methods, and properties.
1618
-
1619
1615
### Event: 'aborted'
1620
1616
<!-- YAML
1621
1617
added: v0.3.8
@@ -2273,6 +2269,4 @@ not abort the request or do anything besides add a `'timeout'` event.
2273
2269
[ `socket.setTimeout()` ] : net.html#net_socket_settimeout_timeout_callback
2274
2270
[ `socket.unref()` ] : net.html#net_socket_unref
2275
2271
[ `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
2278
2272
[ `HPE_HEADER_OVERFLOW` ] : errors.html#errors_hpe_header_overflow
0 commit comments