emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.57k stars 411 forks source link

add mqtt alpn support #528

Closed tatsuya-ogawa closed 1 year ago

tatsuya-ogawa commented 1 year ago

I want to use CocoaMQTT for AWS IOT MQTT with custom authorizer username and password. It should be compatible with ssl alpn. for that this pr add the ssl alpn setting functionality.

tatsuya-ogawa commented 1 year ago

I tried SSLSetALPNProtocols with AWS IoT CustomAuthorizer, but it didn't work.