@@ -1505,8 +1505,7 @@ added: v8.4.0
15051505* ` options ` {Object}
15061506 * ` allowHTTP1 ` {boolean} Incoming client connections that do not support
15071507 HTTP/2 will be downgraded to HTTP/1.x when set to ` true ` . The default value
1508- is ` false ` . See the [ ` 'unknownProtocol' ` ] [ ] event. See [ ALPN
1509- negotiation] ( #alpn-negotiation ) .
1508+ is ` false ` . See the [ ` 'unknownProtocol' ` ] [ ] event. See [ ALPN negotiation] [ ] .
15101509 * ` maxDeflateDynamicTableSize ` {number} Sets the maximum dynamic table size
15111510 for deflating header fields. Defaults to 4Kib.
15121511 * ` maxSendHeaderBlockLength ` {number} Sets the maximum allowed size for a
@@ -2019,9 +2018,9 @@ added: v8.4.0
20192018
20202019* ` error ` {Error}
20212020
2022- Calls ` destroy() ` on the [ ` Http2Stream ` ] [ ] that received the [ ` ServerRequest ` ] [ ] . If
2023- ` error ` is provided, an ` 'error' ` event is emitted and ` error ` is passed as an
2024- argument to any listeners on the event.
2021+ Calls ` destroy() ` on the [ ` Http2Stream ` ] [ ] that received
2022+ the [ ` Http2ServerRequest ` ] [ ] . If ` error ` is provided, an ` 'error' ` event
2023+ is emitted and ` error ` is passed as an argument to any listeners on the event.
20252024
20262025It does nothing if the stream was already destroyed.
20272026
@@ -2655,7 +2654,7 @@ will result in a [`TypeError`][] being thrown.
26552654added: v8.4.0
26562655-->
26572656
2658- Call [ ` stream .pushStream()` ] [ ] with the given headers, and wraps the
2657+ Call [ ` http2stream .pushStream()` ] [ ] with the given headers, and wraps the
26592658given newly created [ ` Http2Stream ` ] on ` Http2ServerRespose ` .
26602659
26612660The callback will be called with an error with code ` ERR_HTTP2_STREAM_CLOSED `
@@ -2667,7 +2666,7 @@ if the stream is closed.
26672666[ HTTP/2 ] : https://tools.ietf.org/html/rfc7540
26682667[ HTTPS ] : https.html
26692668[ Headers Object ] : #http2_headers_object
2670- [ Http2Session and Sockets ] : #http2_http2sesion_and_sockets
2669+ [ Http2Session and Sockets ] : #http2_http2session_and_sockets
26712670[ Readable Stream ] : stream.html#stream_class_stream_readable
26722671[ Settings Object ] : #http2_settings_object
26732672[ Using options.selectPadding ] : #http2_using_options_selectpadding
@@ -2678,14 +2677,15 @@ if the stream is closed.
26782677[ `ClientHttp2Stream` ] : #http2_class_clienthttp2stream
26792678[ `Duplex` ] : stream.html#stream_class_stream_duplex
26802679[ `EventEmitter` ] : events.html#events_class_eventemitter
2680+ [ `Http2ServerRequest` ] : #http2_class_http2_http2serverrequest
26812681[ `Http2Stream` ] : #http2_class_http2stream
26822682[ `ServerHttp2Stream` ] : #http2_class_serverhttp2stream
2683- [ `ServerRequest` ] : #http2_class_server_request
26842683[ `TypeError` ] : errors.html#errors_class_typeerror
26852684[ `http2.SecureServer` ] : #http2_class_http2secureserver
26862685[ `http2.createSecureServer()` ] : #http2_createsecureserver_options_onrequesthandler
26872686[ `http2.Server` ] : #http2_class_http2server
26882687[ `http2.createServer()` ] : #http2_createserver_options_onrequesthandler
2688+ [ `http2stream.pushStream()` ] : #http2_http2stream_pushstream_headers_options_callback
26892689[ `net.Socket` ] : net.html#net_class_net_socket
26902690[ `request.socket.getPeerCertificate()` ] : tls.html#tls_tlssocket_getpeercertificate_detailed
26912691[ `response.end()` ] : #http2_response_end_data_encoding_callback
@@ -2695,7 +2695,6 @@ if the stream is closed.
26952695[ `response.write(data, encoding)` ] : http.html#http_response_write_chunk_encoding_callback
26962696[ `response.writeContinue()` ] : #http2_response_writecontinue
26972697[ `response.writeHead()` ] : #http2_response_writehead_statuscode_statusmessage_headers
2698- [ `stream.pushStream()` ] : #http2_stream-pushstream
26992698[ `tls.TLSSocket` ] : tls.html#tls_class_tls_tlssocket
27002699[ `tls.createServer()` ] : tls.html#tls_tls_createserver_options_secureconnectionlistener
27012700[ error code ] : #error_codes
0 commit comments