Swiftpack.co - swift-server-community/mqtt-nio as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by swift-server-community.
swift-server-community/mqtt-nio 2.11.0
A Swift NIO MQTT v3.1.1 and v5.0 Client
⭐️ 156
🕓 1 week ago
iOS macOS watchOS tvOS linux
.package(url: "https://github.com/swift-server-community/mqtt-nio.git", from: "2.11.0")


sswg:sandbox|94x20 Swift 5.7

A Swift NIO based MQTT v3.1.1 and v5.0 client.

MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol that was developed by IBM and first released in 1999. It uses the pub/sub pattern and translates messages between devices, servers, and applications. It is commonly used in Internet of things (IoT) technologies.

MQTTNIO is a Swift NIO based implementation of a MQTT client. It supports

  • MQTT versions 3.1.1 and 5.0.
  • Unencrypted and encrypted (via TLS) connections
  • WebSocket connections
  • Posix sockets
  • Apple's Network framework via NIOTransportServices (required for iOS).
  • Unix domain sockets

You can find documentation for MQTTNIO here. There is also a sample demonstrating the use MQTTNIO in an iOS app found here


Stars: 156
Last commit: 1 week ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Related Packages

Release Notes

1 week ago

Minor release changes

  • Support Unix Domain Socket connections. PR #146 from @jpgrayson

Patch release changes

  • Repair MQTTClient.v5.unsubscribe to use properties argument. PR #149 from @jpgrayson

Other changes

  • Use eclipse-mosquitto image in CI. PR #147, #150 from @jpgrayson
  • mosquitto.sh script uses native mosquitto executable. PR #148 from @jpgrayson
  • Update swiftformat to use v0.52.10. PR #151 from @jpgrayson

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics