Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-07-09 22:34:28 +0300
committerJames M Snell <jasnell@gmail.com>2020-07-16 03:16:32 +0300
commit429ab1dce611dd9db564c69ac58a1dc622233357 (patch)
tree396f98a287644ca93285459615736d2ead5f02dd /doc/api/quic.md
parentaafdc2fcad51ec0f4ecd99424d6d2055d7878fab (diff)
quic: minor reduction in code duplication
PR-URL: https://github.com/nodejs/node/pull/34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api/quic.md')
-rw-r--r--doc/api/quic.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/quic.md b/doc/api/quic.md
index 0c8f73a0e5c..b21d4326425 100644
--- a/doc/api/quic.md
+++ b/doc/api/quic.md
@@ -255,6 +255,8 @@ added: REPLACEME
* `options` {Object}
* `client` {Object} A default configuration for QUIC client sessions created
using `quicsocket.connect()`.
+ * `disableStatelessReset` {boolean} When `true` the `QuicSocket` will not
+ send stateless resets. **Default**: `false`.
* `endpoint` {Object} An object describing the local address to bind to.
* `address` {string} The local address to bind to. This may be an IPv4 or
IPv6 address or a host name. If a host name is given, it will be resolved
@@ -276,6 +278,10 @@ added: REPLACEME
* `retryTokenTimeout` {number} The maximum number of *seconds* for retry token
validation. Default: `10` seconds.
* `server` {Object} A default configuration for QUIC server sessions.
+ * `statelessResetSecret` {Buffer|Uint8Array} A 16-byte `Buffer` or
+ `Uint8Array` providing the secret to use when generating stateless reset
+ tokens. If not specified, a random secret will be generated for the
+ `QuicSocket`. **Default**: `undefined`.
* `validateAddress` {boolean} When `true`, the `QuicSocket` will use explicit
address validation using a QUIC `RETRY` frame when listening for new server
sessions. Default: `false`.