Skip to main content
TLSSocket.prototype.alpnProtocol - tls - Node documentation
property TLSSocket.prototype.alpnProtocol

Usage in Deno

import { TLSSocket } from "node:tls";

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.

Type

string
| false
| null
Back to top