阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js tlsSocket.getProtocol

      Node.js tlsSocket.getProtocol

      新增于: v5.7.0

      • Returns: < string> | < null>

      Returns a string containing the negotiated SSL/TLS protocol version of the current connection. The value ‘unknown’ will be returned for connected sockets that have not completed the handshaking process. The value null will be returned for server sockets or disconnected client sockets.

      Protocol versions are:

      • ‘TLSv1’
      • ‘TLSv1.1’
      • ‘TLSv1.2’
      • ‘SSLv3’

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


      更多内容请参考:Node.js tls 安全传输层,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录