tlsSocket.encrypted


总是返回 true。 这可用于将 TLS 套接字与常规 net.Socket 实例区分开来。

Always returns true. This may be used to distinguish TLS sockets from regular net.Socket instances.