Skip to main content
CommonConnectionOptions.ALPNProtocols - tls - Node documentation
property CommonConnectionOptions.ALPNProtocols

Usage in Deno

import { type CommonConnectionOptions } from "node:tls";

An array of strings or a Buffer naming possible ALPN protocols. (Protocols should be ordered by their priority.)

Type

string[]
| Uint8Array[]
| Uint8Array
| undefined