alpnProtocol

PalpnProtocol
Bun

Symbol

TCPSocket.alpnProtocol

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