mirror of
https://github.com/nodejs/node.git
synced 2026-12-03 18:03:02 -05:00
doc: make markdown input compliant
PR-URL: https://github.com/nodejs/node/pull/21780 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
40c85ff063
commit
6a99e3e21c
5 files changed
+25
-89
No files matched your search
+6
-6
@@ -2652,18 +2652,18 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RSA_PSS_SALTLEN_DIGEST</code></td>
|
||||
<td>Sets the salt length for `RSA_PKCS1_PSS_PADDING` to the digest size
|
||||
when signing or verifying.</td>
|
||||
<td>Sets the salt length for <code>RSA_PKCS1_PSS_PADDING</code> to the
|
||||
digest size when signing or verifying.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RSA_PSS_SALTLEN_MAX_SIGN</code></td>
|
||||
<td>Sets the salt length for `RSA_PKCS1_PSS_PADDING` to the maximum
|
||||
permissible value when signing data.</td>
|
||||
<td>Sets the salt length for <code>RSA_PKCS1_PSS_PADDING</code> to the
|
||||
maximum permissible value when signing data.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RSA_PSS_SALTLEN_AUTO</code></td>
|
||||
<td>Causes the salt length for `RSA_PKCS1_PSS_PADDING` to be determined
|
||||
automatically when verifying a signature.</td>
|
||||
<td>Causes the salt length for <code>RSA_PKCS1_PSS_PADDING</code> to be
|
||||
determined automatically when verifying a signature.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>POINT_CONVERSION_COMPRESSED</code></td>
|
||||
|
||||
+2
-2
@@ -4378,8 +4378,8 @@ The following constants are meant for use with `fs.open()`.
|
||||
<tr>
|
||||
<td><code>O_NOATIME</code></td>
|
||||
<td>Flag indicating reading accesses to the file system will no longer
|
||||
result in an update to the `atime` information associated with the file.
|
||||
This flag is available on Linux operating systems only.</td>
|
||||
result in an update to the <code>atime</code> information associated with
|
||||
the file. This flag is available on Linux operating systems only.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>O_NOFOLLOW</code></td>
|
||||
|
||||
+3
-3
@@ -1912,9 +1912,9 @@ changes:
|
||||
Authorization header.
|
||||
* `agent` {http.Agent | boolean} Controls [`Agent`][] behavior. Possible
|
||||
values:
|
||||
* `undefined` (default): use [`http.globalAgent`][] for this host and port.
|
||||
* `Agent` object: explicitly use the passed in `Agent`.
|
||||
* `false`: causes a new `Agent` with default values to be used.
|
||||
* `undefined` (default): use [`http.globalAgent`][] for this host and port.
|
||||
* `Agent` object: explicitly use the passed in `Agent`.
|
||||
* `false`: causes a new `Agent` with default values to be used.
|
||||
* `createConnection` {Function} A function that produces a socket/stream to
|
||||
use for the request when the `agent` option is not used. This can be used to
|
||||
avoid creating a custom `Agent` class just to override the default
|
||||
|
||||
+8
-7
@@ -442,7 +442,7 @@ The following signal constants are exported by `os.constants.signals`:
|
||||
<tr>
|
||||
<td><code>SIGINT</code></td>
|
||||
<td>Sent to indicate when a user wishes to interrupt a process
|
||||
(`(Ctrl+C)`).</td>
|
||||
(<code>(Ctrl+C)</code>).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>SIGQUIT</code></td>
|
||||
@@ -855,9 +855,9 @@ The following error constants are exported by `os.constants.errno`:
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>EOPNOTSUPP</code></td>
|
||||
<td>Indicates that an operation is not supported on the socket.
|
||||
Note that while `ENOTSUP` and `EOPNOTSUPP` have the same value on Linux,
|
||||
according to POSIX.1 these error values should be distinct.)</td>
|
||||
<td>Indicates that an operation is not supported on the socket. Note that
|
||||
while <code>ENOTSUP</code> and <code>EOPNOTSUPP</code> have the same value
|
||||
on Linux, according to POSIX.1 these error values should be distinct.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>EOVERFLOW</code></td>
|
||||
@@ -1114,7 +1114,8 @@ The following error codes are specific to the Windows operating system:
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>WSAVERNOTSUPPORTED</code></td>
|
||||
<td>Indicates that the `winsock.dll` version is out of range.</td>
|
||||
<td>Indicates that the <code>winsock.dll</code> version is out of
|
||||
range.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>WSANOTINITIALISED</code></td>
|
||||
@@ -1197,8 +1198,8 @@ information.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RTLD_LOCAL</code></td>
|
||||
<td>The converse of `RTLD_GLOBAL`. This is the default behavior if neither
|
||||
flag is specified.</td>
|
||||
<td>The converse of <code>RTLD_GLOBAL</code>. This is the default behavior
|
||||
if neither flag is specified.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RTLD_DEEPBIND</code></td>
|
||||
|
||||
+6
-71
@@ -1421,77 +1421,12 @@ class MyWritable extends Writable {
|
||||
The new stream class must then implement one or more specific methods, depending
|
||||
on the type of stream being created, as detailed in the chart below:
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<p>Use-case</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>Class</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>Method(s) to implement</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
<p>Reading only</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>[`Readable`](#stream_class_stream_readable)</p>
|
||||
</td>
|
||||
<td>
|
||||
<p><code>[_read][stream-_read]</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>Writing only</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>[`Writable`](#stream_class_stream_writable)</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<code>[_write][stream-_write]</code>,
|
||||
<code>[_writev][stream-_writev]</code>,
|
||||
<code>[_final][stream-_final]</code>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>Reading and writing</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>[`Duplex`](#stream_class_stream_duplex)</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<code>[_read][stream-_read]</code>,
|
||||
<code>[_write][stream-_write]</code>,
|
||||
<code>[_writev][stream-_writev]</code>,
|
||||
<code>[_final][stream-_final]</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>Operate on written data, then read the result</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>[`Transform`](#stream_class_stream_transform)</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<code>[_transform][stream-_transform]</code>,
|
||||
<code>[_flush][stream-_flush]</code>,
|
||||
<code>[_final][stream-_final]</code>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
| Use-case | Class | Method(s) to implement |
|
||||
| -------- | ----- | ---------------------- |
|
||||
| Reading only | [`Readable`] | <code>[_read][stream-_read]</code> |
|
||||
| Writing only | [`Writable`] | <code>[_write][stream-_write]</code>, <code>[_writev][stream-_writev]</code>, <code>[_final][stream-_final]</code> |
|
||||
| Reading and writing | [`Duplex`] | <code>[_read][stream-_read]</code>, <code>[_write][stream-_write]</code>, <code>[_writev][stream-_writev]</code>, <code>[_final][stream-_final]</code> |
|
||||
| Operate on written data, then read the result | [`Transform`] | <code>[_transform][stream-_transform]</code>, <code>[_flush][stream-_flush]</code>, <code>[_final][stream-_final]</code> |
|
||||
|
||||
The implementation code for a stream should *never* call the "public" methods
|
||||
of a stream that are intended for use by consumers (as described in the
|
||||
|
||||
Reference in new issue
Block a user