PalpnProtocol
Bun

property

tls.TLSSocket.alpnProtocol

alpnProtocol: null | string | false

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, tlsSocket.alpnProtocol equals false.