TLSSocket.getTLSVersion method | Bun module | Bun
BuildDocsReferenceGuidesBlogDiscord/
Bun/
TLSSocket/
getTLSVersionMgetTLSVersion
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
Bun/
TLSSocket/
getTLSVersionMgetTLSVersion
method
TLSSocket.getTLSVersiongetTLSVersion(): string;
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:
'SSLv3''TLSv1''TLSv1.1''TLSv1.2''TLSv1.3'Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →