Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding added to the class and the address method
  • Loading branch information
Italo A. Casas
Italo A. Casas committed May 27, 2016
commit e8bfe2ce1669985f7c52d727a463437dc0491179
6 changes: 6 additions & 0 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ of an application. The `--tls-cipher-list` switch should by used only if
absolutely necessary.

## Class: tls.Server
<!--

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you make sure that the comment always starts with <!-- YAML (including the space)?

You can run make doc-only and then look at out/doc/api/tls.html to check that everything renders as expected

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

tls.html looks good

added: v0.11.3
-->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

tls.Server is definitely older than this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

v0.3.2 if my git fu deceives me not. It's from one of the v0.3.x releases at any rate.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

yeap v0.3.2 d8f2880


The `tls.Server` class is a subclass of `net.Server` that accepts encrypted
connections using TLS or SSL.
Expand Down Expand Up @@ -337,6 +340,9 @@ The `server.addContext()` method adds a secure context that will be used if
the client request's SNS hostname matches the supplied `hostname` (or wildcard).

### server.address()
<!--
added: v0.11.3
-->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

0.6.0


Returns the bound address, the address family name, and port of the
server as reported by the operating system. See [`net.Server.address()`][] for
Expand Down