From ebd5e0e8715cc6568a627997c600747ea5440877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Wed, 24 Apr 2024 13:16:38 +0200 Subject: [PATCH] Update README.md Added TLS ALPN to the ConnectSettings options --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f171d4d..8c87eb3 100644 --- a/README.md +++ b/README.md @@ -243,6 +243,10 @@ $connectionSettings = (new \PhpMqtt\Client\ConnectionSettings) // This option requires ConnectionSettings::setTlsClientCertificateFile() and // ConnectionSettings::setTlsClientCertificateKeyFile() to be used as well. ->setTlsClientCertificateKeyPassphrase(null); + + // The TLS ALPN is used to establish a TLS encrypted mqtt connection on port 443, + // which usually is reserved for TLS encrypted HTTP traffic. + ->setTlsAlpn(null); ``` ## Features