GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: minor cleanup of tls.getProtocol() · nodejs/node@48852cc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • tls.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/tls.md‎

Copy file name to clipboardExpand all lines: doc/api/tls.md
+6-6Lines changed: 6 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -756,19 +756,19 @@ to implement the `tls-unique` channel binding from [RFC 5929][].
756756
added: v5.7.0
757757
-->
758758

759-
* Returns: {string}
759+
* Returns: {string|null}
760760

761761
Returns a string containing the negotiated SSL/TLS protocol version of the
762762
current connection. The value `'unknown'` will be returned for connected
763763
sockets that have not completed the handshaking process. The value `null` will
764764
be returned for server sockets or disconnected client sockets.
765765

766-
Example responses include:
766+
Protocol versions are:
767767

768-
* `TLSv1`
769-
* `TLSv1.1`
770-
* `TLSv1.2`
771-
* `unknown`
768+
* `'TLSv1'`
769+
* `'TLSv1.1'`
770+
* `'TLSv1.2'`
771+
* `'SSLv3'`
772772

773773
See <https://www.openssl.org/docs/man1.1.0/ssl/SSL_get_version.html> for more
774774
information.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.