Skip to content

Commit 7bfa5cf

Browse files
committed
s/streams/stream/
1 parent 674416f commit 7bfa5cf

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

doc/api/_toc.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* [Utilities](util.html)
1010
* [Events](events.html)
1111
* [Buffer](buffer.html)
12-
* [Streams](streams.html)
12+
* [Stream](stream.html)
1313
* [Crypto](crypto.html)
1414
* [TLS/SSL](tls.html)
1515
* [String Decoder](string_decoder.html)

doc/api/all.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@include util
1010
@include events
1111
@include buffer
12-
@include streams
12+
@include stream
1313
@include crypto
1414
@include tls
1515
@include string_decoder

doc/api/fs.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ An example to read the last 10 bytes of a file which is 100 bytes long:
515515

516516
## Class: fs.ReadStream
517517

518-
`ReadStream` is a [Readable Stream](streams.html#readable_Stream).
518+
`ReadStream` is a [Readable Stream](stream.html#readable_stream).
519519

520520
### Event: 'open'
521521

@@ -541,7 +541,7 @@ default mode `w`.
541541

542542
## fs.WriteStream
543543

544-
`WriteStream` is a [Writable Stream](streams.html#writable_Stream).
544+
`WriteStream` is a [Writable Stream](stream.html#writable_stream).
545545

546546
### Event: 'open'
547547

doc/api/http.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ See [net.Server.close()](net.html#server.close).
128128
This object is created internally by a HTTP server -- not by
129129
the user -- and passed as the first argument to a `'request'` listener.
130130

131-
The request implements the [Readable Stream](streams.html#readable_Stream)
131+
The request implements the [Readable Stream](stream.html#readable_stream)
132132
interface. This is an `EventEmitter` with the following events:
133133

134134
### Event: 'data'
@@ -248,7 +248,7 @@ authentication details.
248248
This object is created internally by a HTTP server--not by the user. It is
249249
passed as the second parameter to the `'request'` event.
250250

251-
The response implements the [Writable Stream](streams.html#writable_Stream)
251+
The response implements the [Writable Stream](stream.html#writable_stream)
252252
interface. This is an `EventEmitter` with the following events:
253253

254254
### Event: 'close'
@@ -583,7 +583,7 @@ event, the entire body will be caught.
583583
Note: Node does not check whether Content-Length and the length of the body
584584
which has been transmitted are equal or not.
585585

586-
The request implements the [Writable Stream](streams.html#writable_Stream)
586+
The request implements the [Writable Stream](stream.html#writable_stream)
587587
interface. This is an `EventEmitter` with the following events:
588588

589589
### Event 'response'
@@ -715,7 +715,7 @@ will be called.
715715
This object is created when making a request with `http.request()`. It is
716716
passed to the `'response'` event of the request object.
717717

718-
The response implements the [Readable Stream](streams.html#readable_Stream)
718+
The response implements the [Readable Stream](stream.html#readable_stream)
719719
interface. This is an `EventEmitter` with the following events:
720720

721721

doc/api/net.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ See `connect()`.
377377

378378
Emitted when data is received. The argument `data` will be a `Buffer` or
379379
`String`. Encoding of data is set by `socket.setEncoding()`.
380-
(See the [Readable Stream](streams.html#readable_Stream) section for more
380+
(See the [Readable Stream](stream.html#readable_stream) section for more
381381
information.)
382382

383383
Note that the __data will be lost__ if there is no listener when a `Socket`

doc/api/streams.markdown renamed to doc/api/stream.markdown

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# Streams
1+
# Stream
22

33
A stream is an abstract interface implemented by various objects in Node.
44
For example a request to an HTTP server is a stream, as is stdout. Streams
55
are readable, writable, or both. All streams are instances of `EventEmitter`.
66

7+
You can load up the Stream base class by doing `require('stream')`.
8+
79
## Readable Stream
810

911
<!--type=class-->

doc/api/tls.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ The number of concurrent connections on the server.
319319
This is a stream on top of the *Encrypted* stream that makes it possible to
320320
read/write an encrypted data as a cleartext data.
321321

322-
This instance implements a duplex [Stream](streams.html#streams) interfaces.
322+
This instance implements a duplex [Stream](stream.html) interfaces.
323323
It has all the common stream methods and events.
324324

325325
A ClearTextStream is the `clear` member of a SecurePair object.

0 commit comments

Comments
 (0)