Skip to content

Commit

Permalink
doc: use consistent method symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed May 5, 2022
1 parent deb713e commit 2305b31
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2410,8 +2410,8 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
This is similar to [`http.Server#maxHeadersCount`][] or
[`http.ClientRequest#maxHeadersCount`][]. The minimum value is `4`.
This is similar to [`http.Server.maxHeadersCount`][] or
[`http.ClientRequest.maxHeadersCount`][]. The minimum value is `4`.
**Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
Expand Down Expand Up @@ -2567,8 +2567,8 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
This is similar to [`http.Server#maxHeadersCount`][] or
[`http.ClientRequest#maxHeadersCount`][]. The minimum value is `4`.
This is similar to [`http.Server.maxHeadersCount`][] or
[`http.ClientRequest.maxHeadersCount`][]. The minimum value is `4`.
**Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
Expand Down Expand Up @@ -2695,8 +2695,8 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
This is similar to [`http.Server#maxHeadersCount`][] or
[`http.ClientRequest#maxHeadersCount`][]. The minimum value is `1`.
This is similar to [`http.Server.maxHeadersCount`][] or
[`http.ClientRequest.maxHeadersCount`][]. The minimum value is `1`.
**Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
Expand Down Expand Up @@ -4135,8 +4135,8 @@ you need to implement any fall-back behavior yourself.
[`Http2Stream`]: #class-http2stream
[`ServerHttp2Stream`]: #class-serverhttp2stream
[`TypeError`]: errors.md#class-typeerror
[`http.ClientRequest#maxHeadersCount`]: http.md#requestmaxheaderscount
[`http.Server#maxHeadersCount`]: http.md#servermaxheaderscount
[`http.ClientRequest.maxHeadersCount`]: http.md#requestmaxheaderscount
[`http.Server.maxHeadersCount`]: http.md#servermaxheaderscount
[`http2.SecureServer`]: #class-http2secureserver
[`http2.Server`]: #class-http2server
[`http2.createSecureServer()`]: #http2createsecureserveroptions-onrequesthandler
Expand Down
24 changes: 12 additions & 12 deletions doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ added: v11.3.0

* {number} **Default:** `60000`

See [`http.Server#headersTimeout`][].
See [`http.Server.headersTimeout`][].

### `server.listen()`

Expand All @@ -170,7 +170,7 @@ This method is identical to [`server.listen()`][] from [`net.Server`][].

* {number} **Default:** `2000`

See [`http.Server#maxHeadersCount`][].
See [`http.Server.maxHeadersCount`][].

### `server.requestTimeout`

Expand All @@ -180,7 +180,7 @@ added: v14.11.0

* {number} **Default:** `0`

See [`http.Server#requestTimeout`][].
See [`http.Server.requestTimeout`][].

### `server.setTimeout([msecs][, callback])`

Expand All @@ -192,7 +192,7 @@ added: v0.11.2
* `callback` {Function}
* Returns: {https.Server}

See [`http.Server#setTimeout()`][].
See [`http.Server.setTimeout()`][].

### `server.timeout`

Expand All @@ -206,7 +206,7 @@ changes:

* {number} **Default:** 0 (no timeout)

See [`http.Server#timeout`][].
See [`http.Server.timeout`][].

### `server.keepAliveTimeout`

Expand All @@ -216,7 +216,7 @@ added: v8.0.0

* {number} **Default:** `5000` (5 seconds)

See [`http.Server#keepAliveTimeout`][].
See [`http.Server.keepAliveTimeout`][].

## `https.createServer([options][, requestListener])`

Expand Down Expand Up @@ -539,15 +539,15 @@ headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; p
[`http.Agent(options)`]: http.md#new-agentoptions
[`http.Agent`]: http.md#class-httpagent
[`http.ClientRequest`]: http.md#class-httpclientrequest
[`http.Server#headersTimeout`]: http.md#serverheaderstimeout
[`http.Server#keepAliveTimeout`]: http.md#serverkeepalivetimeout
[`http.Server#maxHeadersCount`]: http.md#servermaxheaderscount
[`http.Server#requestTimeout`]: http.md#serverrequesttimeout
[`http.Server#setTimeout()`]: http.md#serversettimeoutmsecs-callback
[`http.Server#timeout`]: http.md#servertimeout
[`http.Server.close()`]: http.md#serverclosecallback
[`http.Server.closeAllConnections()`]: http.md#servercloseallconnections
[`http.Server.closeIdleConnections()`]: http.md#servercloseidleconnections
[`http.Server.headersTimeout`]: http.md#serverheaderstimeout
[`http.Server.keepAliveTimeout`]: http.md#serverkeepalivetimeout
[`http.Server.maxHeadersCount`]: http.md#servermaxheaderscount
[`http.Server.requestTimeout`]: http.md#serverrequesttimeout
[`http.Server.setTimeout()`]: http.md#serversettimeoutmsecs-callback
[`http.Server.timeout`]: http.md#servertimeout
[`http.Server`]: http.md#class-httpserver
[`http.createServer()`]: http.md#httpcreateserveroptions-requestlistener
[`http.get()`]: http.md#httpgetoptions-callback
Expand Down

0 comments on commit 2305b31

Please sign in to comment.