Upgrades the socket to a TLS socket.
Socket.upgradeTLS method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/Socket/upgradeTLSMupgradeTLS BuildDocsReferenceGuidesBlogDiscord /Bun/Socket/upgradeTLSMupgradeTLS Socket.upgradeTLSupgradeTLSData>(options: TLSUpgradeOptionsData>): [raw: SocketData>, tls: SocketData>]; @param options @returns Referenced typesinterface TLSUpgradeOptionsData>data?: Datasocket: SocketHandlerData>tls: boolean | TLSOptions
Search the reference...
/
method
The options for the upgrade.
A tuple containing the raw socket and the TLS socket.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Socket.upgradeTLS method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.Socket.upgradeTLS | Bun