Skip to content

Commit

Permalink
doc: align tls port types with net port types
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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>
tniessen authored Feb 2, 2022
1 parent 68ef009 commit cd5689e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
@@ -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`.

0 comments on commit cd5689e

Please sign in to comment.