emqx / CocoaMQTT

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

Network connection socket #352

Open arthurgau0419 opened 3 years ago

arthurgau0419 commented 3 years ago

This pull request add an optional support for socket connection using Network.framework.(CocoaMQTTNetworkConnectionSocket)

This may helpful if your are developing a App that does not support the CFSocket. (eg: App Clips)

And support cocoapods subspec to install the required dependency only.

If don't want to use any other dependency, Add CocoaMQTT into your pod like below: pod 'CocoaMQTT/Network'