From daae6bc652cf24c82431497a90fae543ab9e401b Mon Sep 17 00:00:00 2001 From: sharababy Date: Thu, 17 Aug 2017 13:35:28 +0530 Subject: [PATCH] doc: fixed link definitions in http2.md footer PR-URL: https://github.com/nodejs/node/pull/14946 Fixes: https://github.com/nodejs/node/issues/14857 Reviewed-By: Refael Ackermann Reviewed-By: James M Snell --- doc/api/http2.md | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 13a5750158fa2f..9d779eecca98b6 100755 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2576,25 +2576,37 @@ given newly created [`Http2Stream`] on `Http2ServerRespose`. The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED` if the stream is closed. -[HTTP/2]: https://tools.ietf.org/html/rfc7540 +[ALPN negotiation]: #http2_alpn_negotiation +[Compatibility API]: #http2_compatibility_api [HTTP/1]: http.html +[HTTP/2]: https://tools.ietf.org/html/rfc7540 [HTTPS]: https.html -[`net.Socket`]: net.html -[`tls.TLSSocket`]: tls.html -[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener -[`ClientHttp2Stream`]: #http2_class_clienthttp2stream -[Compatibility API]: #http2_compatibility_api -[ALPN negotiation]: #http2_alpn_negotiation -[`Duplex`]: stream.html#stream_class_stream_duplex [Headers Object]: #http2_headers_object -[`Http2Stream`]: #http2_class_http2stream [Http2Session and Sockets]: #http2_http2sesion_and_sockets -[`ServerHttp2Stream`]: #http2_class_serverhttp2stream +[Readable Stream]: stream.html#stream_class_stream_readable [Settings Object]: #http2_settings_object [Using options.selectPadding]: #http2_using_options_selectpadding -[error code]: #error_codes -[`'unknownProtocol'`]: #http2_event_unknownprotocol +[Writable Stream]: stream.html#stream_writable_streams [`'request'`]: #http2_event_request -[Readable Stream]: stream.html#stream_class_stream_readable +[`'unknownProtocol'`]: #http2_event_unknownprotocol +[`ClientHttp2Stream`]: #http2_class_clienthttp2stream +[`Duplex`]: stream.html#stream_class_stream_duplex +[`EventEmitter`]: events.html#events_class_eventemitter +[`Http2Stream`]: #http2_class_http2stream +[`ServerHttp2Stream`]: #http2_class_serverhttp2stream [`ServerRequest`]: #http2_class_server_request +[`TypeError`]: errors.html#errors_class_typeerror +[`http2.SecureServer`]: #http2_class_http2secureserver +[`http2.Server`]: #http2_class_http2server +[`net.Socket`]: net.html#net_class_net_socket +[`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed +[`response.end()`]: #http2_response_end_data_encoding_callback +[`response.setHeader()`]: #http2_response_setheader_name_value +[`response.socket`]: #http2_response_socket +[`response.write()`]: #http2_response_write_chunk_encoding_callback +[`response.write(data, encoding)`]: http.html#http_response_write_chunk_encoding_callback +[`response.writeHead()`]: #http2_response_writehead_statuscode_statusmessage_headers [`stream.pushStream()`]: #http2_stream-pushstream +[`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket +[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener +[error code]: #error_codes