@@ -365,7 +365,7 @@ added: v8.4.0
365365 * ` exclusive ` {boolean} When ` true ` and ` parent ` identifies a parent Stream,
366366 the created stream is made the sole direct dependency of the parent, with
367367 all other existing dependents made a dependent of the newly created stream.
368- Defaults to ` false ` .
368+ ** Default: ** ` false `
369369 * ` parent ` {number} Specifies the numeric identifier of a stream the newly
370370 created stream is dependent on.
371371 * ` weight ` {number} Specifies the relative dependency of a stream in relation
@@ -415,7 +415,7 @@ added: v8.4.0
415415-->
416416
417417* stream {Http2Stream}
418- * code {number} Unsigned 32-bit integer identifying the error code. Defaults to
418+ * code {number} Unsigned 32-bit integer identifying the error code. ** Default: **
419419 ` http2.constant.NGHTTP2_NO_ERROR ` (` 0x00 ` )
420420* Returns: {undefined}
421421
@@ -444,7 +444,7 @@ added: v8.4.0
444444 * ` graceful ` {boolean} ` true ` to attempt a polite shutdown of the
445445 ` Http2Session ` .
446446 * ` errorCode ` {number} The HTTP/2 [ error code] [ ] to return. Note that this is
447- * not* the same thing as an HTTP Response Status Code. Defaults to ` 0x00 `
447+ * not* the same thing as an HTTP Response Status Code. ** Default: ** ` 0x00 `
448448 (No Error).
449449 * ` lastStreamID ` {number} The Stream ID of the last successfully processed
450450 ` Http2Stream ` on this ` Http2Session ` .
@@ -522,8 +522,8 @@ added: v8.4.0
522522* ` options ` {Object}
523523 * ` exclusive ` {boolean} When ` true ` and ` parent ` identifies a parent Stream,
524524 the given stream is made the sole direct dependency of the parent, with
525- all other existing dependents made a dependent of the given stream. Defaults
526- to ` false ` .
525+ all other existing dependents made a dependent of the given stream. ** Default: **
526+ ` false `
527527 * ` parent ` {number} Specifies the numeric identifier of a stream the given
528528 stream is dependent on.
529529 * ` weight ` {number} Specifies the relative dependency of a stream in relation
@@ -734,8 +734,8 @@ added: v8.4.0
734734* ` options ` {Object}
735735 * ` exclusive ` {boolean} When ` true ` and ` parent ` identifies a parent Stream,
736736 this stream is made the sole direct dependency of the parent, with
737- all other existing dependents made a dependent of this stream. Defaults
738- to ` false ` .
737+ all other existing dependents made a dependent of this stream. ** Default: **
738+ ` false `
739739 * ` parent ` {number} Specifies the numeric identifier of a stream this stream
740740 is dependent on.
741741 * ` weight ` {number} Specifies the relative dependency of a stream in relation
@@ -764,7 +764,7 @@ calling `http2stream.rstStream()`, or `http2stream.destroy()`. Will be
764764added: v8.4.0
765765-->
766766
767- * code {number} Unsigned 32-bit integer identifying the error code. Defaults to
767+ * code {number} Unsigned 32-bit integer identifying the error code. ** Default: **
768768 ` http2.constant.NGHTTP2_NO_ERROR ` (` 0x00 ` )
769769* Returns: {undefined}
770770
@@ -986,7 +986,7 @@ added: v8.4.0
986986 * ` exclusive ` {boolean} When ` true ` and ` parent ` identifies a parent Stream,
987987 the created stream is made the sole direct dependency of the parent, with
988988 all other existing dependents made a dependent of the newly created stream.
989- Defaults to ` false ` .
989+ ** Default: ** ` false `
990990 * ` parent ` {number} Specifies the numeric identifier of a stream the newly
991991 created stream is dependent on.
992992* ` callback ` {Function} Callback that is called once the push stream has been
@@ -1063,14 +1063,14 @@ fields.
10631063added: v8.4.0
10641064-->
10651065
1066- * ` fd ` {number} A readable file descriptor
1066+ * ` fd ` {number} A readable file descriptor.
10671067* ` headers ` {[ Headers Object] [ ] }
10681068* ` options ` {Object}
10691069 * ` statCheck ` {Function}
10701070 * ` getTrailers ` {Function} Callback function invoked to collect trailer
10711071 headers.
1072- * ` offset ` {number} The offset position at which to begin reading
1073- * ` length ` {number} The amount of data from the fd to send
1072+ * ` offset ` {number} The offset position at which to begin reading.
1073+ * ` length ` {number} The amount of data from the fd to send.
10741074
10751075Initiates a response whose data is read from the given file descriptor. No
10761076validation is performed on the given file descriptor. If an error occurs while
@@ -1152,11 +1152,11 @@ added: v8.4.0
11521152* ` options ` {Object}
11531153 * ` statCheck ` {Function}
11541154 * ` onError ` {Function} Callback function invoked in the case of an
1155- Error before send
1155+ Error before send.
11561156 * ` getTrailers ` {Function} Callback function invoked to collect trailer
11571157 headers.
1158- * ` offset ` {number} The offset position at which to begin reading
1159- * ` length ` {number} The amount of data from the fd to send
1158+ * ` offset ` {number} The offset position at which to begin reading.
1159+ * ` length ` {number} The amount of data from the fd to send.
11601160
11611161Sends a regular file as the response. The ` path ` must specify a regular file
11621162or an ` 'error' ` event will be emitted on the ` Http2Stream ` object.
@@ -1474,13 +1474,13 @@ added: v8.4.0
14741474
14751475* ` options ` {Object}
14761476 * ` maxDeflateDynamicTableSize ` {number} Sets the maximum dynamic table size
1477- for deflating header fields. Defaults to 4Kib.
1477+ for deflating header fields. ** Default: ** ` 4Kib `
14781478 * ` maxSendHeaderBlockLength ` {number} Sets the maximum allowed size for a
14791479 serialized, compressed block of headers. Attempts to send headers that
14801480 exceed this limit will result in a ` 'frameError' ` event being emitted
14811481 and the stream being closed and destroyed.
14821482 * ` paddingStrategy ` {number} Identifies the strategy used for determining the
1483- amount of padding to use for HEADERS and DATA frames. Defaults to
1483+ amount of padding to use for HEADERS and DATA frames. ** Default: **
14841484 ` http2.constants.PADDING_STRATEGY_NONE ` . Value may be one of:
14851485 * ` http2.constants.PADDING_STRATEGY_NONE ` - Specifies that no padding is
14861486 to be applied.
@@ -1492,8 +1492,8 @@ added: v8.4.0
14921492 amount of padding.
14931493 * ` peerMaxConcurrentStreams ` {number} Sets the maximum number of concurrent
14941494 streams for the remote peer as if a SETTINGS frame had been received. Will
1495- be overridden if the remote peer sets its own value for
1496- ` maxConcurrentStreams ` . Defaults to 100.
1495+ be overridden if the remote peer sets its own value for.
1496+ ` maxConcurrentStreams ` . ** Default ** ` 100 `
14971497 * ` selectPadding ` {Function} When ` options.paddingStrategy ` is equal to
14981498 ` http2.constants.PADDING_STRATEGY_CALLBACK ` , provides the callback function
14991499 used to determine the padding. See [ Using options.selectPadding] [ ] .
@@ -1529,16 +1529,16 @@ added: v8.4.0
15291529
15301530* ` options ` {Object}
15311531 * ` allowHTTP1 ` {boolean} Incoming client connections that do not support
1532- HTTP/2 will be downgraded to HTTP/1.x when set to ` true ` . The default value
1533- is ` false ` . See the [ ` 'unknownProtocol' ` ] [ ] event. See [ ALPN negotiation] [ ] .
1532+ HTTP/2 will be downgraded to HTTP/1.x when set to ` true ` . ** Default: **
1533+ ` false ` . See the [ ` 'unknownProtocol' ` ] [ ] event. See [ ALPN negotiation] [ ] .
15341534 * ` maxDeflateDynamicTableSize ` {number} Sets the maximum dynamic table size
1535- for deflating header fields. Defaults to 4Kib.
1535+ for deflating header fields. ** Default: ** ` 4Kib `
15361536 * ` maxSendHeaderBlockLength ` {number} Sets the maximum allowed size for a
15371537 serialized, compressed block of headers. Attempts to send headers that
15381538 exceed this limit will result in a ` 'frameError' ` event being emitted
15391539 and the stream being closed and destroyed.
15401540 * ` paddingStrategy ` {number} Identifies the strategy used for determining the
1541- amount of padding to use for HEADERS and DATA frames. Defaults to
1541+ amount of padding to use for HEADERS and DATA frames. ** Default: **
15421542 ` http2.constants.PADDING_STRATEGY_NONE ` . Value may be one of:
15431543 * ` http2.constants.PADDING_STRATEGY_NONE ` - Specifies that no padding is
15441544 to be applied.
@@ -1551,7 +1551,7 @@ added: v8.4.0
15511551 * ` peerMaxConcurrentStreams ` {number} Sets the maximum number of concurrent
15521552 streams for the remote peer as if a SETTINGS frame had been received. Will
15531553 be overridden if the remote peer sets its own value for
1554- ` maxConcurrentStreams ` . Defaults to 100.
1554+ ` maxConcurrentStreams ` . ** Default: ** ` 100 `
15551555 * ` selectPadding ` {Function} When ` options.paddingStrategy ` is equal to
15561556 ` http2.constants.PADDING_STRATEGY_CALLBACK ` , provides the callback function
15571557 used to determine the padding. See [ Using options.selectPadding] [ ] .
@@ -1595,7 +1595,7 @@ added: v8.4.0
15951595* ` authority ` {string|URL}
15961596* ` options ` {Object}
15971597 * ` maxDeflateDynamicTableSize ` {number} Sets the maximum dynamic table size
1598- for deflating header fields. Defaults to 4Kib.
1598+ for deflating header fields. ** Default: ** ` 4Kib `
15991599 * ` maxReservedRemoteStreams ` {number} Sets the maximum number of reserved push
16001600 streams the client will accept at any given time. Once the current number of
16011601 currently reserved push streams exceeds reaches this limit, new push streams
@@ -1605,7 +1605,7 @@ added: v8.4.0
16051605 exceed this limit will result in a ` 'frameError' ` event being emitted
16061606 and the stream being closed and destroyed.
16071607 * ` paddingStrategy ` {number} Identifies the strategy used for determining the
1608- amount of padding to use for HEADERS and DATA frames. Defaults to
1608+ amount of padding to use for HEADERS and DATA frames. ** Default: **
16091609 ` http2.constants.PADDING_STRATEGY_NONE ` . Value may be one of:
16101610 * ` http2.constants.PADDING_STRATEGY_NONE ` - Specifies that no padding is
16111611 to be applied.
@@ -1618,7 +1618,7 @@ added: v8.4.0
16181618 * ` peerMaxConcurrentStreams ` {number} Sets the maximum number of concurrent
16191619 streams for the remote peer as if a SETTINGS frame had been received. Will
16201620 be overridden if the remote peer sets its own value for
1621- ` maxConcurrentStreams ` . Defaults to 100.
1621+ ` maxConcurrentStreams ` . ** Default: ** ` 100 `
16221622 * ` selectPadding ` {Function} When ` options.paddingStrategy ` is equal to
16231623 ` http2.constants.PADDING_STRATEGY_CALLBACK ` , provides the callback function
16241624 used to determine the padding. See [ Using options.selectPadding] [ ] .
@@ -1707,7 +1707,7 @@ console.log(packed.toString('base64'));
17071707added: v8.4.0
17081708-->
17091709
1710- * ` buf ` {Buffer|Uint8Array} The packed settings
1710+ * ` buf ` {Buffer|Uint8Array} The packed settings.
17111711* Returns: {[ Settings Object] [ ] }
17121712
17131713Returns a [ Settings Object] [ ] containing the deserialized settings from the
@@ -1757,15 +1757,15 @@ These objects are ordinary JavaScript objects containing the following
17571757properties.
17581758
17591759* ` headerTableSize ` {number} Specifies the maximum number of bytes used for
1760- header compression. The default value is 4,096 octets. The minimum allowed
1760+ header compression. ** Default: ** ` 4,096 octets ` . The minimum allowed
17611761 value is 0. The maximum allowed value is 2<sup >32</sup >-1.
17621762* ` enablePush ` {boolean} Specifies ` true ` if HTTP/2 Push Streams are to be
17631763 permitted on the ` Http2Session ` instances.
17641764* ` initialWindowSize ` {number} Specifies the * senders* initial window size
1765- for stream-level flow control. The default value is 65,535 bytes. The minimum
1765+ for stream-level flow control. ** Default: ** ` 65,535 bytes ` . The minimum
17661766 allowed value is 0. The maximum allowed value is 2<sup >32</sup >-1.
17671767* ` maxFrameSize ` {number} Specifies the size of the largest frame payload.
1768- The default and the minimum allowed value is 16,384 bytes . The maximum
1768+ ** Default: ** ` 16,384 bytes ` . The minimum allowed value is 16,384. The maximum
17691769 allowed value is 2<sup >24</sup >-1.
17701770* ` maxConcurrentStreams ` {number} Specifies the maximum number of concurrent
17711771 streams permitted on an ` Http2Session ` . There is no default value which
@@ -2478,7 +2478,7 @@ added: v8.4.0
24782478-->
24792479
24802480* ` name ` {string}
2481- * ` value ` {string | string[ ] }
2481+ * ` value ` {string| string[ ] }
24822482
24832483Sets a single header value for implicit headers. If this header already exists
24842484in the to-be-sent headers, its value will be replaced. Use an array of strings
0 commit comments