mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
doc: fix nits in http(s) server.headersTimeout
* Fix sort orders of sections and bottom references. * Fix links. * Unify spelling. * Add missing YAML block. PR-URL: https://github.com/nodejs/node/pull/24697 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
This commit is contained in:
1 parent
333783643e
commit
acedf1a55a
2 files changed
+29
-27
No files matched your search
+9
-7
@@ -32,6 +32,14 @@ added: v0.1.90
|
||||
|
||||
See [`server.close()`][`http.close()`] from the HTTP module for details.
|
||||
|
||||
### server.headersTimeout
|
||||
<!-- YAML
|
||||
added: v11.3.0
|
||||
-->
|
||||
- {number} **Default:** `40000`
|
||||
|
||||
See [`http.Server#headersTimeout`][].
|
||||
|
||||
### server.listen()
|
||||
|
||||
Starts the HTTPS server listening for encrypted connections.
|
||||
@@ -44,12 +52,6 @@ This method is identical to [`server.listen()`][] from [`net.Server`][].
|
||||
|
||||
See [`http.Server#maxHeadersCount`][].
|
||||
|
||||
### server.headersTimeout
|
||||
|
||||
- {number} **Default:** `40000`
|
||||
|
||||
See [`http.Server#headersTimeout`][].
|
||||
|
||||
### server.setTimeout([msecs][, callback])
|
||||
<!-- YAML
|
||||
added: v0.11.2
|
||||
@@ -367,9 +369,9 @@ headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; p
|
||||
[`Agent`]: #https_class_https_agent
|
||||
[`URL`]: url.html#url_the_whatwg_url_api
|
||||
[`http.Agent`]: http.html#http_class_http_agent
|
||||
[`http.Server#headersTimeout`]: http.html#http_server_headerstimeout
|
||||
[`http.Server#keepAliveTimeout`]: http.html#http_server_keepalivetimeout
|
||||
[`http.Server#maxHeadersCount`]: http.html#http_server_maxheaderscount
|
||||
[`http.Server#headersTimeout`]: http.html#http_server_headerstimeout
|
||||
[`http.Server#setTimeout()`]: http.html#http_server_settimeout_msecs_callback
|
||||
[`http.Server#timeout`]: http.html#http_server_timeout
|
||||
[`http.Server`]: http.html#http_class_http_server
|
||||
|
||||
Reference in new issue
Block a user