@@ -1850,8 +1850,8 @@ const server = http2.createServer((req, res) => {
18501850});
18511851```
18521852
1853- In order to create a mixed [ HTTPS] ( https ) and HTTP/2 server, refer to the
1854- [ ALPN negotiation] ( alpn-negotiation ) section.
1853+ In order to create a mixed [ HTTPS] [ ] and HTTP/2 server, refer to the
1854+ [ ALPN negotiation] [ ] section.
18551855Upgrading from non-tls HTTP/1 servers is not supported.
18561856
18571857The HTTP2 compatibility API is composed of [ ` Http2ServerRequest ` ] ( ) and
@@ -1861,10 +1861,10 @@ the status message for HTTP codes is ignored.
18611861
18621862### ALPN negotiation
18631863
1864- ALPN negotiation allows to support both [ HTTPS] ( https ) and HTTP/2 over
1864+ ALPN negotiation allows to support both [ HTTPS] [ ] and HTTP/2 over
18651865the same socket. The ` req ` and ` res ` objects can be either HTTP/1 or
18661866HTTP/2, and an application ** must** restrict itself to the public API of
1867- [ HTTP/1] ( ) , and detect if it is possible to use the more advanced
1867+ [ HTTP/1] [ ] , and detect if it is possible to use the more advanced
18681868features of HTTP/2.
18691869
18701870The following example creates a server that supports both protocols:
@@ -1925,7 +1925,7 @@ abnormally aborted in mid-communication.
19251925added: REPLACEME
19261926-->
19271927
1928- Indicates that the underlying [ ` Http2Stream ` ] ( ) was closed.
1928+ Indicates that the underlying [ ` Http2Stream ` ] [ ] was closed.
19291929Just like ` 'end' ` , this event occurs only once per response.
19301930
19311931#### request.destroy([ error] )
@@ -1935,7 +1935,7 @@ added: REPLACEME
19351935
19361936* ` error ` {Error}
19371937
1938- Calls ` destroy() ` on the [ Http2Stream] ( ) that received the ` ServerRequest ` . If
1938+ Calls ` destroy() ` on the [ ` Http2Stream ` ] [ ] that received the [ ` ServerRequest ` ] [ ] . If
19391939` error ` is provided, an ` 'error' ` event is emitted and ` error ` is passed as an
19401940argument to any listeners on the event.
19411941
@@ -2570,21 +2570,21 @@ will result in a [`TypeError`][] being thrown.
25702570added: REPLACEME
25712571-->
25722572
2573- Call [ ` stream.pushStream() ` ] ( ) with the given headers, and wraps the
2573+ Call [ ` stream.pushStream() ` ] [ ] with the given headers, and wraps the
25742574given newly created [ ` Http2Stream ` ] on ` Http2ServerRespose ` .
25752575
25762576The callback will be called with an error with code ` ERR_HTTP2_STREAM_CLOSED `
25772577if the stream is closed.
25782578
25792579[ HTTP/2 ] : https://tools.ietf.org/html/rfc7540
25802580[ HTTP/1 ] : http.html
2581- [ https ] : https.html
2581+ [ HTTPS ] : https.html
25822582[ `net.Socket` ] : net.html
25832583[ `tls.TLSSocket` ] : tls.html
25842584[ `tls.createServer()` ] : tls.html#tls_tls_createserver_options_secureconnectionlistener
25852585[ `ClientHttp2Stream` ] : #http2_class_clienthttp2stream
25862586[ Compatibility API ] : #http2_compatibility_api
2587- [ alpn- negotiation] : #http2_alpn_negotiation
2587+ [ ALPN negotiation] : #http2_alpn_negotiation
25882588[ `Duplex` ] : stream.html#stream_class_stream_duplex
25892589[ Headers Object ] : #http2_headers_object
25902590[ `Http2Stream` ] : #http2_class_http2stream
0 commit comments