| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5dc7929 commit 65d6455
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1606,7 +1606,7 @@ changes: | |||
| 1606 | 1606 | * `socket` {stream.Duplex} Establish secure connection on a given socket | |
| 1607 | 1607 | rather than creating a new socket. Typically, this is an instance of | |
| 1608 | 1608 | [`net.Socket`][], but any `Duplex` stream is allowed. | |
| 1609 | - If this option is specified, `path`, `host` and `port` are ignored, | ||
| 1609 | + If this option is specified, `path`, `host`, and `port` are ignored, | ||
| 1610 | 1610 | except for certificate validation. Usually, a socket is already connected | |
| 1611 | 1611 | when passed to `tls.connect()`, but it can be connected later. | |
| 1612 | 1612 | Connection/disconnection/destruction of `socket` is the user's | |
@@ -1641,8 +1641,8 @@ changes: | |||
| 1641 | 1641 | More information can be found in the [RFC 4279][]. | |
| 1642 | 1642 | * `ALPNProtocols`: {string\[]|Buffer\[]|TypedArray\[]|DataView\[]|Buffer| | |
| 1643 | 1643 | TypedArray|DataView} | |
| 1644 | - An array of strings, `Buffer`s or `TypedArray`s or `DataView`s, or a | ||
| 1645 | - single `Buffer` or `TypedArray` or `DataView` containing the supported ALPN | ||
| 1644 | + An array of strings, `Buffer`s, `TypedArray`s, or `DataView`s, or a | ||
| 1645 | + single `Buffer`, `TypedArray`, or `DataView` containing the supported ALPN | ||
| 1646 | 1646 | protocols. `Buffer`s should have the format `[len][name][len][name]...` | |
| 1647 | 1647 | e.g. `'\x08http/1.1\x08http/1.0'`, where the `len` byte is the length of the | |
| 1648 | 1648 | next protocol name. Passing an array is usually much simpler, e.g. | |
@@ -2028,8 +2028,8 @@ changes: | |||
| 2028 | 2028 | * `options` {Object} | |
| 2029 | 2029 | * `ALPNProtocols`: {string\[]|Buffer\[]|TypedArray\[]|DataView\[]|Buffer| | |
| 2030 | 2030 | TypedArray|DataView} | |
| 2031 | - An array of strings, `Buffer`s or `TypedArray`s or `DataView`s, or a single | ||
| 2032 | - `Buffer` or `TypedArray` or `DataView` containing the supported ALPN | ||
| 2031 | + An array of strings, `Buffer`s, `TypedArray`s, or `DataView`s, or a single | ||
| 2032 | + `Buffer`, `TypedArray`, or `DataView` containing the supported ALPN | ||
| 2033 | 2033 | protocols. `Buffer`s should have the format `[len][name][len][name]...` | |
| 2034 | 2034 | e.g. `0x05hello0x05world`, where the first byte is the length of the next | |
| 2035 | 2035 | protocol name. Passing an array is usually much simpler, e.g. | |
@@ -2088,7 +2088,7 @@ changes: | |||
| 2088 | 2088 | in TLS 1.3. Upon failing to set pskIdentityHint `'tlsClientError'` will be | |
| 2089 | 2089 | emitted with `'ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED'` code. | |
| 2090 | 2090 | * ...: Any [`tls.createSecureContext()`][] option can be provided. For | |
| 2091 | - servers, the identity options (`pfx`, `key`/`cert` or `pskCallback`) | ||
| 2091 | + servers, the identity options (`pfx`, `key`/`cert`, or `pskCallback`) | ||
| 2092 | 2092 | are usually required. | |
| 2093 | 2093 | * ...: Any [`net.createServer()`][] option can be provided. | |
| 2094 | 2094 | * `secureConnectionListener` {Function} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments