Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add missing parenthesis in TLSSocket section #44512

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/tls.md
Expand Up @@ -807,7 +807,7 @@ negotiation.
Instances of `tls.TLSSocket` implement the duplex [Stream][] interface.

Methods that return TLS connection metadata (e.g.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally optional, but if you want to get rid of this e.g. too, that would be 👍 by me (and the Microsoft style guide).

Suggested change
Methods that return TLS connection metadata (e.g.
Methods that return TLS connection metadata (such as

[`tls.TLSSocket.getPeerCertificate()`][] will only return data while the
[`tls.TLSSocket.getPeerCertificate()`][]) will only return data while the
connection is open.

### `new tls.TLSSocket(socket[, options])`
Expand Down