Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs(readme): update with ALPNProtocols for supporting multiple TLS protocols #1683

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

ysfscream
Copy link
Contributor

Title: Document ALPNProtocols Option for Enhanced TLS Support

Description:

This PR adds documentation for the ALPNProtocols option in MQTT.js, enhancing clarity for users who wish to utilize multiple TLS protocols on the same port.

Rationale:

We've observed that many users were uncertain about how to correctly configure multiple TLS protocols, such as MQTTS and MQTT over WSS, on the same port. While MQTT.js inherently supports this through the ALPNProtocols option, it wasn't clearly documented. This omission can lead to confusion and potential misconfiguration.

By clearly detailing the ALPNProtocols option, we aim to provide clearer guidance, reduce user uncertainty, and ensure users can fully leverage the library's capabilities without hassle.

@robertsLando robertsLando merged commit 78e8c08 into mqttjs:main Aug 30, 2023
@ysfscream
Copy link
Contributor Author

@robertsLando Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants