Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-02-03 00:03:56 +0300
committerGitHub <noreply@github.com>2022-02-03 00:03:56 +0300
commitcd5689eed3be54a5494f9b74d28faa4779187ebb (patch)
tree51111cb1562f86fbfc4741346d14874fcf69d0f4 /doc/api/tls.md
parent68ef009f828fb79d8aba85ff63be87152a8dbc49 (diff)
doc: align tls port types with net port types
PR-URL: https://github.com/nodejs/node/pull/41799 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index f2142b63059..9c9626bc689 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -1365,7 +1365,7 @@ Returns the string representation of the local IP address.
added: v0.11.4
-->
-* {number}
+* {integer}
Returns the numeric representation of the local port.
@@ -1396,7 +1396,7 @@ Returns the string representation of the remote IP family. `'IPv4'` or `'IPv6'`.
added: v0.11.4
-->
-* {number}
+* {integer}
Returns the numeric representation of the remote port. For example, `443`.