String containing the selected ALPN protocol. Before a handshake has completed, this value is always null. When a handshake is completed but not ALPN protocol was selected, socket.alpnProtocol equals false.
property alpnProtocol | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/TLSSocket/alpnProtocolPalpnProtocol BuildDocsReferenceGuidesBlogDiscord /Bun/TLSSocket/alpnProtocolPalpnProtocol TLSSocket.alpnProtocolreadonly alpnProtocol: null | string | false
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property alpnProtocol | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- String containing the selected ALPN protocol.
Before a handshake has completed, this value is always null.
When a handshake is completed but not ALPN protocol was selected, socket.alpnProtocol equals false.